CVE-2026-40102 Plane: ORM Field Reference Injection via `segment` Parameter in Saved Analytics

Medium 6.5 Published Updated

Authenticated users can exploit ORM injection in saved analytics to read sensitive data like password hashes and API tokens.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-40102?

CVE-2026-40102 is a medium-severity vulnerability in makeplane plane, published on 20 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Plane is an open-source project management tool. In versions 1.3.0 and below, SavedAnalyticEndpoint passes the user-controlled segment query parameter directly to a Django F() expression without validation (unlike the regular AnalyticsEndpoint, which checks against an allowlist), causing ORM Field Reference Injection. An authenticated workspace MEMBER can send GET /api/workspaces/<slug>/saved-analytic-view/<analytic_id>/ with a crafted segment value that is forwarded into build_graph_plot() and traverses foreign-key relationships (e.g. workspace__owner__password) before being projected via .values("dimension", "segment"), returning the referenced field values directly in the JSON response. This exposes sensitive data such as bcrypt password hashes, API tokens, and related users' email addresses, making it a stronger primitive than the related order_by injection where values are only leaked through ordering. This issue has been fixed in version 1.3.1.

Weakness: CWE-943

Which versions are affected by CVE-2026-40102?

It affects 1 product.

Products include Plane Plane.

How do I fix CVE-2026-40102?

No fix has been published for CVE-2026-40102 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-40102 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40102 exists.

Sources

Also known as GHSA-93x3-ghh7-72j3.

Is CVE-2026-40102 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free