CVE-2026-40102
published medium CVSS 3.1 · 6.5Plane: ORM Field Reference Injection via `segment` Parameter in Saved Analytics
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| makeplane | — | plane< 1.3.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| makeplane | plane | < 1.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-943 CWE-943: Improper Neutralization of Special Elements in Data Query Logic
References
2Provider assertions
2GitHub_M · cna
Plane: ORM Field Reference Injection via `segment` Parameter in Saved Analytics
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ffce4c9fa62f4b9130921c56cdae59c48b5dcd9cce6cad63ea1e772d883c1593
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record