CVE-2025-11340
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedGitLab has remediated an issue in GitLab EE affecting all versions from 18.3 to 18.3.4, 18.4 to 18.4.2 that, under certain conditions, could have allowed authenticated users with read-only API tokens to perform unauthorized write operations on vulnerability records by exploiting incorrectly scoped GraphQL mutations.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceIn affected GitLab EE versions (18.3.x and 18.4.x), an authorization bypass existed where authenticated users holding read-only API tokens could perform write operations on vulnerability records by exploiting incorrectly scoped GraphQL mutations. The GraphQL API failed to properly enforce token scope restrictions, allowing mutation operations despite tokens being granted read-only permissions.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 18.3.0, < 18.3.4>= 18.4.0, < 18.4.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed GitLab EE versionRun 'sudo gitlab-rake gitlab:env:info' or check the GitLab admin area under /admin/application_settings or look at /opt/gitlab/version-manifest.txtAffected if Version is 18.3.0-18.3.3 or 18.4.0-18.4.1 (vulnerable ranges)
-
Verify GraphQL API endpoint accessibilityConfirm the GraphQL endpoint is accessible at /api/graphql - check if the instance has GraphQL enabled and exposedAffected if GraphQL API is accessible without additional restrictions (prerequisite for the attack)
-
Review existing API tokens for read-only scopesList API tokens in GitLab admin area under /admin/api_tokens or use the API: GET /users/:user_id/personal_access_tokens, looking for tokens with 'read_api' or 'read_only' scopeAffected if Read-only API tokens exist in the system (potential attack vector)
-
Audit vulnerability record modificationsQuery the vulnerabilities API endpoint or review the vulnerabilities page in the UI for unexpected changes to vulnerability status, severity, or metadataAffected if Unauthorized or unexpected modifications to vulnerability records are found
You are affected if your GitLab EE version falls within 18.3.0-18.3.3 or 18.4.0-18.4.1 AND read-only API tokens can access the GraphQL API, regardless of whether unauthorized changes are detected in logs.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped18.3.418.4.2
Upgrade GitLab EE to version 18.3.5, 18.4.3, or later to obtain the vendor patch. Review existing API tokens and monitor for any unauthorized vulnerability record modifications that may have occurred while vulnerable.
18.3.4 or 18.4.2 (preferably latest 18.4.x)
- 1. Back up your current GitLab instance and database before upgrading.
- 2. Identify your current GitLab version using `sudo gitlab-rake gitlab:env:info` or the GitLab admin panel.
- 3. If running version 18.3.0 through 18.3.3, upgrade to version 18.3.4 or later.
- 4. If running version 18.4.0 or 18.4.1, upgrade to version 18.4.2 or later.
- 5. For the smoothest path, upgrade to the latest stable 18.4.x release (currently 18.4.2 or higher).
- 6. After upgrade, verify the instance is operational and test that read-only API tokens no longer have write access to vulnerability records.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,808.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-11340 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-11340 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data