CVE Professor
/
All CVEs
CVE-2026-135138

CVE-2026-135138 — MONGODB Ruby Driver — CWE-915

MEDIUM CVSS 6.5 Shodan

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.

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.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. Low PR:L
User Interaction None UI:N
Vuln. Conf. None VC:N
Vuln. Integrity High VI:H
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-135138
CVSS 6.5/10 · MEDIUM · 25.11.2026
CWE: CWE-915
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: 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 t…
Affected: MONGODB Ruby Driver

⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · no user interaction (UI:N) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); data can be modified or deleted.

🛡️ REMEDIATION
→ Apply vendor security update for MONGODB Ruby Driver.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="MongoDB"
CVSS Score
6.5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-915
Affected Products (1)
MONGODB:Ruby Driver
References & Advisories (1)
Related CVEs
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
5.3
CVE-2026-144571
Payload 3.86.0 before 3.94.2 and 4.0.0-beta.1 before 4.0.0-beta.12 contains an access control bypass in the Mo
7.1
CVE-2026-141347
A deserialization flaw in the BSON object-mapping component of the MongoDB Java Driver allows a type-name valu
6.5
CVE-2026-144282
The MongoDB Spark Connector has an insufficiently protected credentials weakness in its catalog table metadata
8.8
CVE-2026-145157
orange-orm before 5.6.1 contains an authorization bypass vulnerability that allows authenticated clients to ov
7.3
CVE-2026-144510
A security vulnerability has been detected in Discourse up to 2026.10.1. This affects the function UserCreator
6.4
CVE-2026-145369
### Summary Istio validation rejects the internal annotations `internal.istio.io/parent-namespace` and `inter