CVE-2026-135138
Last modified
CVE-2026-135138 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller. In an application that forwards caller-supplied attribute names into a document update, a user with basic application privileges may change values held inside a field the model declared immutable.
Description
Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller. In an application that forwards caller-supplied attribute names into a document update, a user with basic application privileges may change values held inside a field the model declared immutable. This may result in unintended modification of data the application treats as trusted, such as flags used for its own access decisions.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | Ruby Driver | >= 3.0.0, < 9.1.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-135138?
How severe is CVE-2026-135138?
How do I fix CVE-2026-135138?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-135127A security vulnerability has been detected in FredrikNoren u…6.3
- CVE-2026-135128A vulnerability was detected in FredrikNoren ungit 1.5.30. T…6.3
- CVE-2026-13513A security flaw has been discovered in MyScale MyScaleDB up …5
- CVE-2026-135133An invalid memory release in the MongoDB PHP Driver extensio…7.8
- CVE-2026-135134A NULL pointer dereference and invalid memory release in the…5.9
- CVE-2026-135135Mongoid builds an incomplete automatic encryption schema for…6.5
- CVE-2026-135139Mongoid contains an incorrect authorization weakness in the …6.5
- CVE-2026-13514A weakness has been identified in Chess Play and Learn App u…2.4
- CVE-2026-135140Mongoid may omit a field from the client-side encryption set…4.3
- CVE-2026-135141A logic flaw in the query-building layer of the Mongoid obje…8.1
- CVE-2026-135142An incorrect authorization weakness in the embedded relation…6.5
- CVE-2026-135144A query builder component in a MongoDB integration library f…8.1
Are you affected by CVE-2026-135138?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
