Repository navigation
fix(deps): update dependency sharp to v0.35.5 [security] - #4450
Merged
Merged
Conversation
Contributor
|
Independent review: ACCEPT at
No requested changes. Protected squash merge is authorized only after an immediate re-read confirms the exact head, 0 failing/pending checks, successful CI-ready aggregators, MERGEABLE/CLEAN, and time before 19:20Z. No admin bypass or branch update. |
yannickmonney
added a commit
that referenced
this pull request
Oct 6, 2026
Apply the three corrections from the independent fact review of #4447 (website scan probing versus the browser fetch, the knowledge database container and its migration order, and the #4448 entry), and add the changes merged after the reviewed range: the two-factor grace anchor (#4437) with its migration note, sharp 0.35.5 for GHSA-wq5f-xc86-pv6w (#4450) with the pinned sandbox runtime image note, and the All projects archived badge (#4416). Add known issues for #4438, #4439 and #4448 from their post-merge reviews. Independent review: ACCEPT at 32d07ec (PR comment 6024188366).
This was referenced Oct 7, 2026
yannickmonney
added a commit
that referenced
this pull request
Oct 8, 2026
Every harness, browser and vision stage was built FROM tooling-base, the one chain that also held the OS packages, Office, TeX, the document libraries, the Docker engine and the Claude Code environment defaults, and a guard required it. Any edit there (two apt packages for #4395, the sharp security bump in #4450, an ENV tweak) re-ran every harness install and could re-ship ~2 GB of layers to every host. - harness-base (Python slim + Node + download tools) now builds the harnesses, the browser and the document Node libraries; the document Python libraries install into their own prefix, Hermes builds on them, and all of these arrive in the runtime stage as `COPY --link` layers. - The OS chain runs from the largest, stablest apt set to the most often extended (fonts and browser libraries, Office, TeX, the Docker engine, then the everyday tools), and its environment variables moved to the runtime stage, below every install. - The guard now requires that no stage but the runtime reaches the OS chain, that the OS chain holds no ENV and keeps its apt order, and that the document libraries ship as layers of their own. Every stage, and the full runtime image including the Playwright MCP manifest recording, was built locally (arm64).
yannickmonney
added a commit
that referenced
this pull request
Oct 9, 2026
Every harness, browser and vision stage was built FROM tooling-base, the one chain that also held the OS packages, Office, TeX, the document libraries, the Docker engine and the Claude Code environment defaults, and a guard required it. Any edit there (two apt packages for #4395, the sharp security bump in #4450, an ENV tweak) re-ran every harness install and could re-ship ~2 GB of layers to every host. - harness-base (Python slim + Node + download tools) now builds the harnesses, the browser and the document Node libraries; the document Python libraries install into their own prefix, Hermes builds on them, and all of these arrive in the runtime stage as `COPY --link` layers. - The OS chain runs from the largest, stablest apt set to the most often extended (fonts and browser libraries, Office, TeX, the Docker engine, then the everyday tools), and its environment variables moved to the runtime stage, below every install. - The guard now requires that no stage but the runtime reaches the OS chain, that the OS chain holds no ENV and keeps its apt order, and that the document libraries ship as layers of their own. Every stage, and the full runtime image including the Playwright MCP manifest recording, was built locally (arm64).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.35.4→0.35.5Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
sharp : Vulnerability in librsvg dependency CVE-2026-96889
GHSA-wq5f-xc86-pv6w
More information
Details
Impact
A memory-related vulnerability has been discovered and fixed in the upstream librsvg dependency. When certain runtime-specific conditions apply, this vulnerability can lead to possible remote code execution (RCE) on glibc-based Linux.
Patches
Using prebuilt binaries provided by sharp?
Most people rely on the prebuilt binaries provided by sharp.
Please upgrade sharp to the latest version, currently 0.35.5, which provides librsvg 2.63.2.
Using a globally-installed librsvg?
Please ensure you are using the latest librsvg 2.63.2.
Workarounds
Add the following to your code to prevent sharp from decoding SVG images.
To avoid RCE, ensure you are using a
nodeexecutable binary compiled as a Position Independent Executable (PIE). Most Linux package managers already use this security-hardening feature however be warned that the "official" Node.js binaries do not.1
Severity
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
lovell/sharp (sharp)
v0.35.5Compare Source
https://github.com/lovell/sharp-libvips/releases/tag/v1.3.4
Add upper bounds check on length of
linearand GIFdelayarrays.Improve error handing when WebAssembly fallback also fails.
#4593
@lazerg
TypeScript: Allow multi-frame options for JXL output.
#4602
@ramin-010
TypeScript: Remove non-existent named export.
#4604
Increase accepted dimensions when extending an image.
#4605
Improve gain map support for
extractandrotateoperations.#4606
Tests: Ensure composite tests pass on big endian platforms.
#4609
Configuration
📅 Schedule: (in timezone Europe/Zurich)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.