2025-12-26 3:37CVE-2025-68944mitre
PUBLISHED5.2CWE-441

Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries.

Problem type

Affected products

Gitea

Gitea

< 1.22.2 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2025-68944
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2025-68944",
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "dateUpdated": "2025-12-26T19:28:23.900Z",
    "dateReserved": "2025-12-26T03:37:28.412Z",
    "datePublished": "2025-12-26T03:37:28.693Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre",
        "dateUpdated": "2025-12-26T18:59:09.375Z"
      },
      "descriptions": [
        {
          "lang": "en",
          "value": "Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries."
        }
      ],
      "affected": [
        {
          "vendor": "Gitea",
          "product": "Gitea",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.22.2"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-441 Unintended Proxy or Intermediary ('Confused Deputy')",
              "cweId": "CWE-441",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://blog.gitea.com/release-of-1.22.2/"
        },
        {
          "url": "https://github.com/go-gitea/gitea/releases/tag/v1.22.2"
        },
        {
          "url": "https://github.com/go-gitea/gitea/pull/31967"
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "CHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "availabilityImpact": "NONE",
            "baseScore": 5,
            "baseSeverity": "MEDIUM"
          }
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2025-12-26T19:28:23.900Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}