Repository navigation
[INFRA-843] fix(security): bump toml and djangorestframework for 2026-10-22 advisories - #10098
Merged
Merged
Conversation
CVE-2026-114141/114143/114144 (toml parser CPU DoS, published 2026-10-22) cover every toml <= 5.0.0, so the "<5" cap on the override now blocks the only fix. toml arrives solely via react-doctor -> effect (declares ^4.1.1), whose one use is Toml.parse() in effect/unstable/cli; 5.x keeps that API and only throws on integers beyond Number.MAX_SAFE_INTEGER instead of rounding. The lockfile moves only toml 4.3.0 -> 5.0.1. Mirrors makeplane/plane-ee on the same branch name, so one scan dispatch covers both repos' legs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CVE-2026-114136 (JSONParser honours an attacker-named codec), CVE-2026-114137 (TokenProxy.delete() revokes nothing) and CVE-2026-114138 (Accept-header parameter CPU DoS) were published 2026-10-22 16:16-16:18 UTC and cover every release below 3.18.2. Exact pin, so the number moves: 3.17.2 -> 3.18.3, the newest 3.18 release. uv.lock moves only djangorestframework. Verified on a local Dockerfile.api build: python manage.py check reports no issues, and Trivy 0.70.0 with .trivyignore.yaml reports 0 vulnerabilities and 0 secrets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pratapalakshmi
requested review from
dheeru0198 and
pablohashescobar
as code owners
October 23, 2026 07:53
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Contributor
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
⛔ Files ignored due to path filters: 2
📒 Files selected for processing: 2
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
sriramveeraghanta
approved these changes
Oct 23, 2026
sriramveeraghanta
pushed a commit
that referenced
this pull request
Oct 23, 2026
…-10-22 advisories (#10098) * [INFRA-843] fix(security): bump toml to 5.0.1 CVE-2026-114141/114143/114144 (toml parser CPU DoS, published 2026-10-22) cover every toml <= 5.0.0, so the "<5" cap on the override now blocks the only fix. toml arrives solely via react-doctor -> effect (declares ^4.1.1), whose one use is Toml.parse() in effect/unstable/cli; 5.x keeps that API and only throws on integers beyond Number.MAX_SAFE_INTEGER instead of rounding. The lockfile moves only toml 4.3.0 -> 5.0.1. Mirrors makeplane/plane-ee on the same branch name, so one scan dispatch covers both repos' legs. * [INFRA-843] fix(security): bump djangorestframework to 3.18.3 CVE-2026-114136 (JSONParser honours an attacker-named codec), CVE-2026-114137 (TokenProxy.delete() revokes nothing) and CVE-2026-114138 (Accept-header parameter CPU DoS) were published 2026-10-22 16:16-16:18 UTC and cover every release below 3.18.2. Exact pin, so the number moves: 3.17.2 -> 3.18.3, the newest 3.18 release. uv.lock moves only djangorestframework. Verified on a local Dockerfile.api build: python manage.py check reports no issues, and Trivy 0.70.0 with .trivyignore.yaml reports 0 vulnerabilities and 0 secrets.
This was referenced Oct 23, 2026
1 task done
3 tasks done
szymczag
added a commit
to szymczag/hangar
that referenced
this pull request
Nov 18, 2026
Converge API packaging with upstream makeplane/plane v1.5.0 (66c95bd, 4906193, f7dbd74; makeplane#9950, makeplane#10098, makeplane#10094). The requirements/*.txt files become [project] dependencies and the production, dev and test groups in pyproject.toml, pinned with hashes in uv.lock (uv 0.12.21 via [tool.uv] required-version). The dependency set is the fork's: python3-saml, xmlsec, webauthn, python-magic and mistune stay as a separate block, posthog stays while event_tracking_task imports it, ruff stays at 0.16.4 and its config stays in pyproject.toml. Bumped from upstream: djangorestframework 3.18.3, urllib3>=2.8.0, certifi>=2026.10.19, and the test-only httpx pin 0.24.1 -> 0.28.1, without which the shared lock holds production at h11 0.14.0 (CVE-2025-43859). As upstream, psycopg-c is production-only and psycopg-binary dev/test-only. Dockerfile.api takes upstream's digest-pinned uv stage, bind-mounted for the install step only, GRPC_DEFAULT_SSL_ROOTS_FILE_PATH and the removal of pip from the runtime image, and keeps the fork's Alpine base and packages, APK_SECURITY_PATCH, uid 10001 and the non-writable code tree. uv's lock files are removed from /tmp in the same layer. The all-in-one image, which copies the API's site-packages, already sets the gRPC roots path and brings its own pip for supervisor. The test image installs the dev and test groups at build time, and the compose test entrypoint re-syncs against the mounted lock instead of pip-installing requirements/test.txt. The S7 dependency test now reads pyproject.toml and uv.lock, and new S1 checks pin the locked production install, the absence of pip and uv in the runtime image, the gRPC roots path and the uv image version.
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.
What
plane-aio-community, whosepreviewtag is from 2026-10-19 (push builds never rebuild it). Advisories published 2026-10-22 16:16-16:38 UTC now hit the currentpreviewimages: re-scanned with today's Trivy DB,plane-backend:previewhas 3 HIGH andplane-live:preview/plane-space:previewhave 3 HIGH each, so tonight's run would go red on them.toml4.3.0 -> 5.0.1 (CVE-2026-114141/114143/114144): live, space, AIOdjangorestframework3.17.2 -> 3.18.3 (CVE-2026-114136/114137/114138): backend, AIOWhere to look
apps/api/pyproject.toml:djangorestframework==3.18.3(exact pin; 3.17 -> 3.18 minor, the line plane-ee's backend already runs)pnpm-workspace.yaml:tomloverride>=4.2.0 <5->>=5.0.1 <6. Every toml<= 5.0.0is affected, so the<5cap blocks the only fix. toml reaches us only viareact-doctor->effect, whose sole use isToml.parse()ineffect/unstable/cli; 5.x keeps that API.pnpm-lock.yaml,apps/api/uv.lock: regenerated with the repo's pnpm 11.10.0 / uv 0.12.21Watch out for: DRF 3.18 is a minor bump here (3.17.2 -> 3.18.3), unlike plane-ee's patch bump.
Blast Radius
Proof
Important
Confidence: High. Rebuilt backend and live scan 0/0 with the CI Trivy command; current
previewimages reproduce the findings as a positive control..trivyignore.yaml(the one CI passes), DB of 2026-10-23 07:19 UTC:apps/api/Dockerfile.apibuild from this branch: 0 vulns / 0 secrets, exit 0;rest_framework.VERSION == 3.18.3;python manage.py checkreports no issuesapps/live/Dockerfile.livebuild: 0 / 0, exit 0; containstoml@5.0.1plane-backend:preview,plane-live:preview,plane-space:previewreport exactly these packages; frontend/admin/proxy are cleanRollout
preview, which refreshes every community image exceptplane-aio-community. Dispatchbuild-branch.ymlonpreviewwithaio_build=trueto refresh that one.Media
N/A
Links
🤖 Generated with Claude Code
Summary by CodeRabbit