Commit edff17f
fix: upgrade simple-git to 3.36.0 to address CVE-2026-6951
Fixes SOU-1032
Updates simple-git from 3.33.0 to 3.36.0 in both @sourcebot/backend
and @sourcebot/web packages to patch a Remote Code Execution
vulnerability where attackers could bypass the CVE-2022-25912 fix
by using --config instead of -c flag.
Code review confirmed that user-controlled inputs are already safely
handled (passed as string arguments rather than in options objects),
providing defense-in-depth alongside this upgrade.
Co-authored-by: Brendan Kellam <brendan@sourcebot.dev>1 parent 3e68b32 commit edff17f
3 files changed
Lines changed: 26 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8047 | 8047 | | |
8048 | 8048 | | |
8049 | 8049 | | |
| 8050 | + | |
| 8051 | + | |
| 8052 | + | |
| 8053 | + | |
| 8054 | + | |
| 8055 | + | |
| 8056 | + | |
| 8057 | + | |
| 8058 | + | |
| 8059 | + | |
| 8060 | + | |
| 8061 | + | |
| 8062 | + | |
| 8063 | + | |
| 8064 | + | |
| 8065 | + | |
8050 | 8066 | | |
8051 | 8067 | | |
8052 | 8068 | | |
| |||
8633 | 8649 | | |
8634 | 8650 | | |
8635 | 8651 | | |
8636 | | - | |
| 8652 | + | |
8637 | 8653 | | |
8638 | 8654 | | |
8639 | 8655 | | |
| |||
8924 | 8940 | | |
8925 | 8941 | | |
8926 | 8942 | | |
8927 | | - | |
| 8943 | + | |
8928 | 8944 | | |
8929 | 8945 | | |
8930 | 8946 | | |
| |||
20394 | 20410 | | |
20395 | 20411 | | |
20396 | 20412 | | |
20397 | | - | |
20398 | | - | |
20399 | | - | |
| 20413 | + | |
| 20414 | + | |
| 20415 | + | |
20400 | 20416 | | |
20401 | 20417 | | |
20402 | 20418 | | |
| 20419 | + | |
| 20420 | + | |
20403 | 20421 | | |
20404 | | - | |
| 20422 | + | |
20405 | 20423 | | |
20406 | 20424 | | |
20407 | 20425 | | |
| |||
0 commit comments