Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Cerebrate with any valid account
-
DeliveryEnumerate or guess target record id within an accessible entity type
-
ExploitCraft edit request body injecting target id field
-
InstallSubmit HTTP POST/PATCH to reachable edit endpoint
-
C2CakePHP ORM marshals attacker-supplied id onto entity
-
ExecuteSQL UPDATE overwrites target record fields
-
ImpactUnauthorized integrity modification achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires a valid authenticated session - any user account suffices for the UserSettings endpoint, which was reachable by all authenticated users. For higher-impact entity types such as User or Role, the attacker must have access to an edit endpoint for that entity, which may require elevated privileges depending on Cerebrate's ACL configuration. The attacker must know or enumerate a target record's numeric primary key id. No special network position is required beyond being able to reach the Cerebrate HTTP interface. Exploitation is limited by: (1) requiring valid authentication credentials, (2) requiring knowledge of a target record's id, (3) impact being constrained to writable fields of the specific entity type targeted - read operations are unaffected and confidentiality is not compromised. |
| Impact | The CVSS 4.0 score of 6.3 (AV:N/AC:L/AT:N/PR:L/UI:N) reflects low-complexity network exploitation requiring only low-privilege authentication, which is consistent with the description - the UserSettings endpoint is reachable by any authenticated user. The vector's split between VI:L (low integrity impact on the vulnerable system itself) and SI:H (high subsequent-system integrity impact) accurately captures the asymmetry: while a single edit request may produce a modest local change, targeting Role or User entity records could silently escalate privileges or alter access controls for other users, constituting a high-impact lateral integrity breach. No EPSS data was provided and no CISA KEV listing exists, indicating no confirmed widespread exploitation at time of analysis. No public proof-of-concept exploit has been identified. The realistic risk tier is medium-high for Cerebrate deployments exposed to untrusted authenticated users or multi-tenant environments, and lower for tightly controlled single-organization deployments where all users are trusted. The absence of confidentiality impact (VC:N/SC:N) is consistent with the description - the flaw enables writes, not reads. |
| Exploit ScenarioDerived | An authenticated low-privilege user logs into Cerebrate, identifies the numeric id of a target Role or User record (potentially discoverable through enumeration of list endpoints), then submits a crafted POST/PATCH request to a reachable edit endpoint - such as /userSettings/edit/{their_own_id} - with the body containing 'id={target_record_id}' alongside desired field values. CakePHP's patchEntity() sets the entity's id to the attacker-supplied value before save(), causing the resulting UPDATE SQL statement to write to the foreign record. No public exploit code has been identified, but the technique requires only basic HTTP manipulation and knowledge of CakePHP ORM behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Unauthorized record modification in Cerebrate before 1.37 allows any authenticated user to overwrite arbitrary records of the same entity type by injecting a foreign primary key into CRUD edit requests. The flaw stems from permissive mass-assignment defaults across several entity types - User, Role, UserSetting, LocalTool, PermissionLimitation, and EnumerationCollection - where the ORM's patchEntity() accepted attacker-controlled id values from request bodies, redirecting the SQL UPDATE to an unrelated row. Because the UserSettings edit endpoint was reachable by all authenticated users, the most accessible exploitation path required only valid session credentials. No public exploit code or CISA KEV listing has been identified at time of analysis, though the integrity impact on Role and User entities carries privilege-escalation potential that elevates real-world severity above the base CVSS score alone.
RemediationAI
Upgrade Cerebrate to version 1.37, which strips the id field from request input in both add() and edit() flows within CRUDComponent.php and globally marks id as inaccessible in AppModel.php. The upstream fix commit is https://github.com/cerebrate-project/cerebrate/commit/b3c8f951b0634f05691339512ef06cc261afecaf; a released tagged version is the target state - verify that 1.37 is pulled from the official Cerebrate release channel rather than relying solely on this commit reference. If immediate upgrade is not possible, a compensating control is to implement a WAF or reverse-proxy rule that strips any id parameter from the request body of PATCH/POST requests to edit endpoints - note this may interfere with legitimate workflows and does not protect against server-side code paths that construct input arrays from multiple sources. Restricting the UserSettings edit endpoint to specific authenticated roles via application-level ACL reduces the most accessible exploitation surface while the patch is deployed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cerebrate is a CIRCL-developed threat-intelligence sharing and management platform built on the CakePHP framework. CakePHP's ORM provides patchEntity() and newEntity() methods that marshal incoming request arrays onto entity objects before persisting them. By default, entity fields are considered mass-assignable unless explicitly marked inaccessible via the $_accessible property. The vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) arises because affected entities inherited the permissive base defaults without explicitly setting 'id' => false. When an attacker includes an id field in an HTTP edit request, patchEntity() sets that field on the entity object; since CakePHP's save() uses the entity's id to determine the WHERE clause, the UPDATE is redirected to a foreign record. The affected CPE is cpe:2.3:a:cerebrate:cerebrate:*:*:*:*:*:*:*:* for all versions prior to 1.37. The fix applied in CRUDComponent.php strips id from $input after beforeMarshal callbacks run, and AppModel.php now globally declares '$_accessible = ["*" => true, "id" => false]' to block PK mass-assignment across all inheriting entities.
Know when Cerebrate gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N
Network-accessible edit endpoint, low auth required; scope changes because the attacker modifies records outside their authorization boundary, with high integrity impact on Role/User entities.
Primary rating from Vendor (CIRCL).
CVSS VectorVendor: CIRCL
DescriptionCVE.org
Cerebrate before version 1.37 allowed the id primary key field to be supplied through request input during CRUD edit operations and certain custom entity patching flows. In affected entities that did not explicitly mark id as inaccessible, an authenticated attacker could submit a crafted edit request containing the id of another record, causing the save operation to update that unrelated record instead of the record identified by the route parameter. The issue affected several entity types inheriting permissive mass-assignment defaults, including User, Role, UserSetting, LocalTool, PermissionLimitation, and EnumerationCollection. Since UserSettings edit functionality was reachable by any authenticated user, exploitation could allow unauthorized modification of records within the same entity type, with impact depending on the affected endpoint and writable fields. Cerebrate 1.37 fixes this by stripping id from request input after marshalling callbacks and by globally marking id as inaccessible in the base AppModel entity.
The discovery of those potential vulnerabilities are inherited from initial finding from Jeroen Pinoy additional support from AI-Assisted Optus 4.8 (the commit wrongly assign Claude Fable 5 as the model switched) and coordinated by Andras Iklody.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An issue was discovered in Cerebrate through 1.4. Rated medium severity (CVSS 6.1), this vulnerability is remotely explo
In Cerebrate 1.13, a blind SQL injection exists in the searchAll API endpoint. Rated critical severity (CVSS 9.8), this
An issue was discovered in Cerebrate through 1.4. Rated medium severity (CVSS 5.3), this vulnerability is remotely explo
Cerebrate 1.12 does not properly consider organisation_id during creation of API keys. Rated critical severity (CVSS 9.1
Mass-assignment in Cerebrate before v1.37 lets remote attackers reaching a generic CRUD add endpoint supply a client-con
An issue was discovered in Cerebrate through 1.4. Rated medium severity (CVSS 6.1), this vulnerability is remotely explo
Cerebrate before 1.15 lacks the Secure attribute for the session cookie. Rated medium severity (CVSS 5.3), this vulnerab
An issue was discovered in Cerebrate through 1.4. Rated medium severity (CVSS 5.3), this vulnerability is remotely explo
Cerebrate's inbox self-registration workflow exposed bcrypt password hashes of pending registrants to any authenticated
In Cerebrate 1.14, a vulnerability in UserSettingsController allows authenticated users to change user settings of other
An issue was discovered in Cerebrate through 1.4. Rated medium severity (CVSS 4.3), this vulnerability is remotely explo
EUVD-2026-36218
GHSA-ccc2-wrmm-mgwp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB