CVE-2026-26231
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 · uneditedGitea versions up to and including 1.26.1 allow the Allow edits from maintainers permission path to authorize commits to repositories that the user can read but should not be able to write.
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 · high confidenceGitea versions up to 1.26.1 contain a broken access control vulnerability in the 'Allow edits from maintainers' permission feature. The feature incorrectly authorizes users with read-only repository access to make commits, effectively granting them write access they should not have. This authorization bypass occurs due to improper validation of the permission path when processing edit requests.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS 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
- Low
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/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.
-
Check installed Gitea versionAccess the Gitea admin dashboard or run 'gitea --version' from the installation directory to retrieve the running version number.Affected if The installed version is 1.26.1 or any earlier version up to and including that release.
-
Verify if Allow edits from maintainers feature is enabledNavigate to Repository Settings > Collaboration in the Gitea web interface and locate the 'Allow edits from maintainers' checkbox, or inspect the repository configuration file if accessible.Affected if The 'Allow edits from maintainers' option is checked or enabled for the repository.
-
Review repository collaborator permissionsIn Repository Settings > Collaboration, examine the list of collaborators and their assigned access levels (Read, Write, Admin).Affected if Any collaborator assigned 'Read-only' access is present on the repository where the vulnerable feature is enabled.
-
Confirm write access behavior for read-only usersAttempt to push a commit or create a branch using a test account granted only read-only access to verify if the permission bypass is exploitable in your environment.Affected if A user with read-only access is able to push commits or modify the repository despite lacking write permissions.
You are affected if Gitea version 1.26.1 or earlier is running AND the 'Allow edits from maintainers' feature is enabled on any repository where read-only collaborators exist.
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 · scopedUpgrade Gitea to a version beyond 1.26.1 that contains the security patch, or temporarily disable the 'Allow edits from maintainers' feature if an upgrade is not immediately feasible.
Gitea 1.27.0 or later (any release after 1.26.1)
- 1. Identify current Gitea version by checking the administration dashboard or running `gitea --version`
- 2. Backup the Gitea database and configuration files before upgrading
- 3. Download the latest stable Gitea release (version 1.27.0 or later) from the official releases page at https://github.com/go-gitea/gitea/releases
- 4. Stop the Gitea service
- 5. Replace the existing Gitea binary with the new version
- 6. Review the configuration file for any version-specific changes in the release notes
- 7. Start the Gitea service
- 8. Verify the fix by confirming that users with read-only access to a repository cannot push commits even if 'Allow edits from maintainers' is enabled
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,656.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-26231 — 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-2026-26231 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