Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(security): patch undici, multer, fast-uri, ip-address advisories across apps (#4848)

claude[bot]a9d1f3920616
diff --git a/apps/api/audit-ci.jsonc b/apps/api/audit-ci.jsonc
index 5f0bd644d..8bb7e1b32 100644
--- a/apps/api/audit-ci.jsonc
+++ b/apps/api/audit-ci.jsonc
@@ -2,13 +2,17 @@
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
"low": true,
"allowlist": [
- // GHSA-v2v4-37r5-5v8g / GHSA-mwp4-54f8-5fhr (ip-address):
- // geoip-country still depends on ip-address 6.x; the non-affected
- // line is a multi-major jump outside the upstream range.
+ // GHSA-v2v4-37r5-5v8g / GHSA-mwp4-54f8-5fhr / GHSA-rpw4-54j3-4h4q (ip-address):
+ // [email protected] requires ip-address@^6.4.0; ip-address 6.4.0 is the
+ // latest 6.x release (no patch exists in the 6.x line). A cross-major
+ // override to 10.x would break geoip-country's API surface. Our SSRF
+ // protection is handled by ipaddr.js, not ip-address, so the isLinkLocal()
+ // inaccuracy in ip-address is not reachable through security-sensitive paths.
// Do not override across majors without compatibility approval.
// Owner: team-engineering-reviewers. Tracking: create internal ticket.
- // Expires: 2026-10-08.
+ // Expires: 2026-12-29.
"GHSA-v2v4-37r5-5v8g",
- "GHSA-mwp4-54f8-5fhr"
+ "GHSA-mwp4-54f8-5fhr",
+ "GHSA-rpw4-54j3-4h4q"
]
}
diff --git a/apps/api/package.json b/apps/api/package.json
index a7334a2ec..b779f87ff 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -127,7 +127,7 @@
"langsmith": "^0.6.0",
"lodash": "^4.18.0",
"marked": "^14.1.2",
- "multer": "^2.3.0",
+ "multer": "^2.4.0",
"ollama-ai-provider-v2": "^3.6.0",
"parse-diff": "^0.11.1",
"pdf-parse": "^1.1.1",
@@ -146,7 +146,7 @@
"turndown": "^7.1.3",
"typescript": "npm:@typescript/[email protected]",
"typescript-7": "npm:[email protected]",
- "undici": "7.29.0",
+ "undici": "7.30.0",
"uuid": "^13.0.1",
"winston": "^3.14.2",
"ws": "^8.21.0",
diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yaml
index 14a306a8e..ad2e52a57 100644
--- a/apps/api/pnpm-lock.yaml
+++ b/apps/api/pnpm-lock.yaml
@@ -12,7 +12,7 @@ overrides:
ajv: ^8.18.0
fast-xml-builder: '>=1.1.6 <2.0.0'
fast-xml-parser: ^5.7.0
- fast-uri: 3.1.6
+ fast-uri: 3.1.8
glob@>=10.2.0 <10.5.0: '>=10.5.0'
js-yaml@>=3.0.0 <3.15.2: 3.15.2
js-yaml@>=4.0.0 <4.3.2: 4.3.2
@@ -21,7 +21,7 @@ overrides:
bn.js@<5.2.3: '>=5.2.3'
'@tootallnate/once@<3.0.1': '>=3.0.1'
yauzl: ^3.2.1
- undici: 7.29.0
+ undici: 7.30.0
picomatch@<4.0.4: '>=4.0.4'
yaml@<2.8.3: '>=2.8.3'
smol-toml@<1.7.1: 1.8.0
@@ -195,7 +195,7 @@ importers:
version: 1.2.0
http-cookie-agent:
specifier: ^7.0.1
ioredis:
specifier: ^5.6.1
version: 5.6.1
@@ -224,8 +224,8 @@ importers:
specifier: ^14.1.2
version: 14.1.2
multer:
- specifier: ^2.3.0
- version: 2.3.0
+ specifier: ^2.4.0
+ version: 2.4.0
ollama-ai-provider-v2:
specifier: ^3.6.0
@@ -281,8 +281,8 @@ importers:
specifier: npm:[email protected]
undici:
- specifier: 7.29.0
- version: 7.29.0
+ specifier: 7.30.0
+ version: 7.30.0
uuid:
specifier: ^13.0.1
version: 13.0.2
@@ -2894,8 +2894,8 @@ packages:
resolution: {integrity: sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==}
- resolution: {integrity: sha512-7Ical1vFEMr0onbVzEDIreM22I4khW+fzyQPwvAFWBp1iwdshSZRsL4jjRvPG9JP1uiqMHRto+YU6R2/CzDz5Q==}
+ resolution: {integrity: sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==}
resolution: {integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==}
@@ -3153,7 +3153,7 @@ packages:
engines: {node: '>=20.0.0'}
peerDependencies:
tough-cookie: ^4.0.0 || ^5.0.0
- undici: 7.29.0
+ undici: 7.30.0
peerDependenciesMeta:
undici:
optional: true
@@ -3629,8 +3629,8 @@ packages:
resolution: {integrity: sha512-F9UngXRlPyWCDEASDpTf6c9uNhGPTqnTeLVt7bN+bU1eajoR/8V9ys2BRaV5C/e5ihE6sJ9uPIKaYt6bFuO32g==}
- resolution: {integrity: sha512-cjNbm3sttszgZeGfJR124D+jFEfkXCVAsoPBmFn9X7UxmDSFHWqE2CoEj0vrmSpuAFnqWR1Szcm9QTsiHr60Xw==}
+ resolution: {integrity: sha512-7dqa0ZcFfzbefdTuIkzOSMvZWC0J7FLqBOjJUZvDCXShIURWKxAyTT1wHhnE5q19c7jOJf43IYYKjBmZVZmvhg==}
engines: {node: '>= 10.16.0'}
@@ -4443,8 +4443,8 @@ packages:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
- resolution: {integrity: sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==}
+ resolution: {integrity: sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==}
engines: {node: '>=20.18.1'}
@@ -4812,7 +4812,7 @@ snapshots:
'@ai-sdk/provider': 3.0.16
'@standard-schema/spec': 1.1.0
eventsource-parser: 3.1.0
- undici: 7.29.0
+ undici: 7.30.0
zod: 4.1.12
'@ai-sdk/[email protected]':
@@ -6287,7 +6287,7 @@ snapshots:
dependencies:
fast-deep-equal: 3.1.3
- fast-uri: 3.1.6
+ fast-uri: 3.1.8
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
@@ -6881,7 +6881,7 @@ snapshots:
dependencies:
fast-string-truncated-width: 3.0.3
dependencies:
@@ -7230,12 +7230,12 @@ snapshots:
domutils: 3.1.0
entities: 4.5.0
dependencies:
agent-base: 7.1.3
tough-cookie: 4.1.4
optionalDependencies:
- undici: 7.29.0
+ undici: 7.30.0
dependencies:
@@ -7407,7 +7407,7 @@ snapshots:
saxes: 6.0.0
symbol-tree: 3.2.4
tough-cookie: 6.0.1
- undici: 7.29.0
+ undici: 7.30.0
w3c-xmlserializer: 5.0.0
webidl-conversions: 8.0.1
whatwg-mimetype: 5.0.0
@@ -7684,11 +7684,10 @@ snapshots:
optionalDependencies:
msgpackr-extract: 3.0.3
dependencies:
append-field: 1.0.0
busboy: 1.6.0
- concat-stream: 2.0.0
type-is: 1.6.18
@@ -8543,7 +8542,7 @@ snapshots:
diff --git a/apps/api/pnpm-workspace.yaml b/apps/api/pnpm-workspace.yaml
index ff20ba2c3..c697523ad 100644
--- a/apps/api/pnpm-workspace.yaml
+++ b/apps/api/pnpm-workspace.yaml
@@ -18,7 +18,7 @@ overrides:
ajv: "^8.18.0"
fast-xml-builder: ">=1.1.6 <2.0.0"
fast-xml-parser: "^5.7.0"
- fast-uri: "3.1.6"
+ fast-uri: "3.1.8"
"glob@>=10.2.0 <10.5.0": ">=10.5.0"
"js-yaml@>=3.0.0 <3.15.2": "3.15.2"
"js-yaml@>=4.0.0 <4.3.2": "4.3.2"
@@ -27,7 +27,7 @@ overrides:
"bn.js@<5.2.3": ">=5.2.3"
"@tootallnate/once@<3.0.1": ">=3.0.1"
yauzl: "^3.2.1"
- undici: "7.29.0"
+ undici: "7.30.0"
"picomatch@<4.0.4": ">=4.0.4"
"yaml@<2.8.3": ">=2.8.3"
"smol-toml@<1.7.1": "1.8.0"
diff --git a/apps/playwright-service-ts/pnpm-lock.yaml b/apps/playwright-service-ts/pnpm-lock.yaml
index 9a4bdd6f7..606aa0976 100644
--- a/apps/playwright-service-ts/pnpm-lock.yaml
+++ b/apps/playwright-service-ts/pnpm-lock.yaml
@@ -9,7 +9,7 @@ overrides:
path-to-regexp@<8.4.0: '>=8.4.0'
qs@<6.16.0: '>=6.16.0 <7.0.0'
esbuild@>=0.17.0 <0.28.1: 0.28.1
- ip-address@>=10.0.0 <10.3.1: 10.4.0
+ ip-address@>=10.0.0 <10.7.2: 10.7.2
importers:
@@ -403,8 +403,8 @@ packages:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
- resolution: {integrity: sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==}
+ resolution: {integrity: sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w==}
engines: {node: '>= 12'}
@@ -930,7 +930,7 @@ snapshots:
@@ -1088,7 +1088,7 @@ snapshots:
dependencies:
- ip-address: 10.4.0
+ ip-address: 10.7.2
smart-buffer: 4.2.0
diff --git a/apps/playwright-service-ts/pnpm-workspace.yaml b/apps/playwright-service-ts/pnpm-workspace.yaml
index 7d2d7e7b4..6a7c37164 100644
--- a/apps/playwright-service-ts/pnpm-workspace.yaml
+++ b/apps/playwright-service-ts/pnpm-workspace.yaml
@@ -5,4 +5,4 @@ overrides:
"path-to-regexp@<8.4.0": ">=8.4.0"
"qs@<6.16.0": ">=6.16.0 <7.0.0"
"esbuild@>=0.17.0 <0.28.1": "0.28.1"
- "ip-address@>=10.0.0 <10.3.1": "10.4.0"
+ "ip-address@>=10.0.0 <10.7.2": "10.7.2"
diff --git a/apps/test-suite/pnpm-lock.yaml b/apps/test-suite/pnpm-lock.yaml
index cdec6c419..f61a417dc 100644
--- a/apps/test-suite/pnpm-lock.yaml
+++ b/apps/test-suite/pnpm-lock.yaml
@@ -9,7 +9,7 @@ overrides:
fast-xml-builder: '>=1.1.6 <2.0.0'
fast-xml-parser: ^5.7.0
minimatch@<10.2.3: '>=10.2.3'
- undici@>=7.0.0 <7.29.0: 7.29.0
+ undici@>=7.0.0 <8.0.0: 7.30.0
picomatch@<4.0.4: '>=4.0.4'
brace-expansion@>=5.0.0 <5.0.9: 5.0.9
js-yaml@>=3.0.0 <3.15.2: 3.15.2
@@ -1724,8 +1724,8 @@ packages:
resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==}
- resolution: {integrity: sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==}
+ resolution: {integrity: sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==}
engines: {node: '>=20.18.1'}
@@ -3054,7 +3054,7 @@ snapshots:
parse5: 7.3.0
parse5-htmlparser2-tree-adapter: 7.1.0
parse5-parser-stream: 7.1.2
- undici: 7.29.0
+ undici: 7.30.0
whatwg-mimetype: 4.0.0
@@ -3914,7 +3914,7 @@ snapshots:
dependencies:
diff --git a/apps/test-suite/pnpm-workspace.yaml b/apps/test-suite/pnpm-workspace.yaml
index 20c6ba571..1b0090589 100644
--- a/apps/test-suite/pnpm-workspace.yaml
+++ b/apps/test-suite/pnpm-workspace.yaml
@@ -7,7 +7,7 @@ overrides:
fast-xml-builder: ">=1.1.6 <2.0.0"
fast-xml-parser: "^5.7.0"
"minimatch@<10.2.3": ">=10.2.3"
- "undici@>=7.0.0 <7.29.0": "7.29.0"
+ "undici@>=7.0.0 <8.0.0": "7.30.0"
"picomatch@<4.0.4": ">=4.0.4"
"brace-expansion@>=5.0.0 <5.0.9": "5.0.9"
"js-yaml@>=3.0.0 <3.15.2": "3.15.2"
diff --git a/apps/ui/ingestion-ui/pnpm-lock.yaml b/apps/ui/ingestion-ui/pnpm-lock.yaml
index 0882fe705..12a92b132 100644
--- a/apps/ui/ingestion-ui/pnpm-lock.yaml
+++ b/apps/ui/ingestion-ui/pnpm-lock.yaml
@@ -7,7 +7,7 @@ settings:
overrides:
'@humanfs/node@<0.16.8': '>=0.16.8 <0.17.0'
ajv: ^8.18.0
- fast-uri: 3.1.6
+ fast-uri: 3.1.8
flatted@<3.4.2: '>=3.4.2'
minimatch@<10.2.3: '>=10.2.3'
rollup@<4.59.0: '>=4.59.0'
@@ -1227,8 +1227,8 @@ packages:
resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}
- resolution: {integrity: sha512-7Ical1vFEMr0onbVzEDIreM22I4khW+fzyQPwvAFWBp1iwdshSZRsL4jjRvPG9JP1uiqMHRto+YU6R2/CzDz5Q==}
+ resolution: {integrity: sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==}
resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==}
@@ -2537,7 +2537,7 @@ snapshots:
dependencies:
fast-deep-equal: 3.1.3
- fast-uri: 3.1.6
+ fast-uri: 3.1.8
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
@@ -2771,7 +2771,7 @@ snapshots:
dependencies:
diff --git a/apps/ui/ingestion-ui/pnpm-workspace.yaml b/apps/ui/ingestion-ui/pnpm-workspace.yaml
index 4dd338c44..3962de01a 100644
--- a/apps/ui/ingestion-ui/pnpm-workspace.yaml
+++ b/apps/ui/ingestion-ui/pnpm-workspace.yaml
@@ -4,7 +4,7 @@ allowBuilds:
overrides:
"@humanfs/node@<0.16.8": ">=0.16.8 <0.17.0"
ajv: "^8.18.0"
- fast-uri: "3.1.6"
+ fast-uri: "3.1.8"
"flatted@<3.4.2": ">=3.4.2"
"minimatch@<10.2.3": ">=10.2.3"
"rollup@<4.59.0": ">=4.59.0"