Critical
Security advisory
An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45330
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:58 UTC · Revision 1
Source evidence
An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.
osv:CVE-2021-45330
Complete source record
{
"id": "9160ce07fb55ddd76722e7c20f0cb5bc764c6eff3602fde5610bbe622a16fb36",
"url": "https://osv.dev/vulnerability/CVE-2021-45330",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45330",
"summary": "An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.",
"evidence": "osv:CVE-2021-45330",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-45330",
"aliases": [
"BIT-gitea-2021-45330",
"CVE-2021-45330",
"GHSA-pg38-r834-g45j",
"GO-2022-0982"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/go-gitea/gitea",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "9879e23c576a7e1352269f3d344d397f8265b4c4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.15.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.15.7",
"v1.15.6",
"v1.15.5",
"v1.15.4",
"v1.15.3",
"v1.15.2",
"v1.15.1",
"v1.15.0",
"v1.15.0-rc3",
"v1.15.0-rc2",
"v1.15.0-rc1",
"v1.15.0-dev",
"v1.14.0-dev",
"v1.13.0-dev",
"v1.12.0-dev",
"v1.10.5",
"v1.11.0-rc1",
"v1.10.0-rc1",
"v1.11.0-dev",
"v1.9.0-rc1",
"v1.10.0-dev",
"v1.9.0-dev",
"v1.7.0-dev",
"v1.6.0-rc1",
"v1.6.0-dev",
"v1.5.0-rc1",
"v1.5.0-dev",
"v1.1.0",
"v1.0.0",
"v0.9.99"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45330.json"
}
}
],
"modified": "2026-10-24T10:51:25.839543092Z",
"provider": "osv",
"references": [
"https://github.com/go-gitea/gitea/issues/4336"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
],
"vendor_product": "gitea:gitea",
"extracted_events": [
{
"range": [
{
"last_affected": "1.15.7"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-45330",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442630,
"published_at": "2022-02-09T18:15:09.97+00:00"
}