Description
The `GITEA_TOKEN` of a Gitea Actions job authenticates as the `gitea-actions` system user, and the `/api/v1/user` email and GPG key endpoints accepted that user, so a job could register an email address and a GPG key on it; without required email confirmation (the default) the address is stored as activated. Commit verification treats a key without a real owner as the instance signing key, so any user who can run a workflow job could make commits signed with their own key show as trusted and signed by the instance in every repository where they appear, including pull requests to repositories the user cannot write to. The impact is limited to the displayed signature status: enforcement such as required signed commits only checks that a signature is verified and is unaffected, and no access is gained. The `/api/v1/user` routes now reject system users.
Published: 2026-11-01
Score: n/a
EPSS: n/a
KEV: No
Impact: Signature Spoofing
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows a Gitea Actions job to authenticate as the gitea-actions system user, enabling the job to register an email address and a GPG key on that user without email confirmation. Because the key is not linked to a real owner, commit verification treats it as the instance signing key. Consequently, any user who can run a workflow job can make commits signed with their own key appear to be legitimately instance‑signed in all repositories where the key is present, including pull requests to repositories to which the user has no write permission. The impact is limited to the displayed signature status; enforcement mechanisms that require signed commits check only that a signature is valid, so no actual access or control over repository content is obtained.

Affected Systems

The affected vendor is Gitea, product Gitea. Any Gitea instance running a version prior to the 28.3.0 release is susceptible to the token‑spoofing flaw. The published fix is included in the 28.3.0 release and later versions.

Risk and Exploitability

The vulnerability does not provide a path to denial of service or arbitrary code execution, and the exploit probability is unknown because EPSS data is missing. It is listed as not present in the CISA KEV catalog. The primary attack vector requires an attacker to be able to execute a Gitea Actions workflow job, which typically means possessing push or workflow‑execution permissions on a repository. Because the flaw only affects signature verification, the risk level is moderate, but the lack of confirmed exploitation data means it is unlikely to be widely targeted. The CVSS score is not supplied, so severity assessment must rely on the described limitations.

Generated by OpenCVE AI on November 1, 2026 at 11:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 28.3.0 or later to apply the patch that rejects system users on the /api/v1/user endpoints.
  • Disable or restrict the ability for users to run Gitea Actions workflow jobs, or enforce email confirmation for GPG key registration, to prevent unauthorized key association.
  • Audit existing GPG keys associated with the gitea-actions system user and revoke any that were added without proper confirmation.

Generated by OpenCVE AI on November 1, 2026 at 11:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 01 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
Description The `GITEA_TOKEN` of a Gitea Actions job authenticates as the `gitea-actions` system user, and the `/api/v1/user` email and GPG key endpoints accepted that user, so a job could register an email address and a GPG key on it; without required email confirmation (the default) the address is stored as activated. Commit verification treats a key without a real owner as the instance signing key, so any user who can run a workflow job could make commits signed with their own key show as trusted and signed by the instance in every repository where they appear, including pull requests to repositories the user cannot write to. The impact is limited to the displayed signature status: enforcement such as required signed commits only checks that a signature is verified and is unaffected, and no access is gained. The `/api/v1/user` routes now reject system users.
Title Gitea Actions job token spoofing of instance-signed commits
Weaknesses CWE-347
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-11-01T09:48:38.763Z

Reserved: 2026-11-01T08:50:49.248Z

Link: CVE-2026-116474

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-01T10:18:35.170

Modified: 2026-11-01T10:18:35.283

Link: CVE-2026-116474

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-01T11:30:06Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature