BreachSpiderVerified, not vibes

CVE-2021-45327 in Gitea

Critical 9.8

Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS2.1%
EPSS percentile83th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gitea Gitea < 1.11.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-45327
BreachSpider IDBS-2022-GLOBAL-301346-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-02-08
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-436: CWE-436

Related attack patterns (CAPEC)

CAPEC-34 HTTP Response Splitting via CWE-436

CAPEC-105 HTTP Request Splitting via CWE-436

CAPEC-273 HTTP Response Smuggling via CWE-436

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Gitea versions before 1.11.2 are vulnerable to a critical security issue that allows a remote malicious user to execute arbitrary code due to trusting HTTP permission methods on the server side when referencing the admin or user API.

The vulnerability arises from the server-side trust of HTTP permission methods when interacting with the admin or user API endpoints. An attacker can exploit this by sending specially crafted HTTP requests that manipulate permission checks, leading to arbitrary code execution.

Questions

What is CVE-2021-45327?

Gitea versions before 1.11.2 are vulnerable to a critical security issue that allows a remote malicious user to execute arbitrary code due to trusting HTTP permission methods on the server side when referencing the admin or user API.

What is the CVSS score for CVE-2021-45327?

CVE-2021-45327 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.1%.

Is CVE-2021-45327 actively exploited?

No confirmed active exploitation of CVE-2021-45327 as of 2026-09-25.

How do I remediate CVE-2021-45327?

Priority: IMMEDIATE. Advisory: https://blog.gitea.io/2020/03/gitea-1.11.2-is-released/

What systems are affected by CVE-2021-45327?

CVE-2021-45327 affects Gitea Gitea.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gitea","product":"Gitea","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.