2025-12-26 2:31CVE-2025-68941mitre
PUBLISHED5.2CWE-863

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

Problem type

Affected products

Gitea

Gitea

< 1.22.3 - AFFECTED

References

GitHub Security Advisories

GHSA-xfq3-qj7j-4565

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with...

https://github.com/advisories/GHSA-xfq3-qj7j-4565

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2025-68941
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2025-68941",
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "dateUpdated": "2025-12-26T19:31:33.303Z",
    "dateReserved": "2025-12-26T02:31:58.775Z",
    "datePublished": "2025-12-26T02:31:59.031Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre",
        "dateUpdated": "2025-12-26T18:58:12.663Z"
      },
      "descriptions": [
        {
          "lang": "en",
          "value": "Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources."
        }
      ],
      "affected": [
        {
          "vendor": "Gitea",
          "product": "Gitea",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.22.3"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-863 Incorrect Authorization",
              "cweId": "CWE-863",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://blog.gitea.com/release-of-1.22.3/"
        },
        {
          "url": "https://github.com/go-gitea/gitea/releases/tag/v1.22.3"
        },
        {
          "url": "https://github.com/go-gitea/gitea/pull/32218"
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "CHANGED",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "availabilityImpact": "NONE",
            "baseScore": 4.9,
            "baseSeverity": "MEDIUM"
          }
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2025-12-26T19:31:33.303Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}