CVE-2026-58438
published 2026-08-13CVE-2026-58438: Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
PriorityP345high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.27%
19.1th percentile
Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gitea | gitea_open_source_git_server | <= 1.26.4 | — |
| openshift-pipelines | pipelines-pipelines-as-code-controller-rhel9 | — | — |
| openshift-pipelines | pipelines-pipelines-as-code-watcher-rhel9 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Gitea: Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
ghsa·2026-07-21
CVE-2026-58438 [LOW] CWE-862 Gitea: Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
Gitea: Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
### Details
`RemoveDependency` in `routers/web/repo/issue_dependency.go` takes a `removeDependencyID` form parameter identifying the other issue by its global numeric ID, and fetches it with `issues_model.GetIssueByID(ctx, depID)` - no repository or permission check at all. It then calls `issues_model.RemoveIssueDependency(ctx, ctx.Doer, issue, dep, depType)` (`models/issues/dependency.go`), which deletes the dependency join row and then writes a comment referencing the removal, attributed to the calling user, onto the dependency record.
The sibling function in the very same file, `AddDependency`, does this correctly when the two issues are in different re
Red Hat
gitea.dev: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference
vendor_redhat·2026-08-13·CVSS 7.5
CVE-2026-58438 [HIGH] CWE-639 gitea.dev: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference
gitea.dev: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference
Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
A flaw was found in Gitea. This vulnerability, identified as an Insecure Direct Object Reference (IDOR), exists within the issue-dependency removal function. A remote attacker with write access to issues in one repository can exploit this flaw to remove a dependency link to an issue in a private repository they are not authorized to access. This allows the attacker to tamper with issue-tracking states and inject comments into private repositories, leading to unauthorized write operations across private repository boundaries.
Statement: A flaw was
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-58438 forgejo: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference [fedora-all]
bugzilla·2026-08-19·CVSS 7.5
CVE-2026-58438 [HIGH] CVE-2026-58438 forgejo: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference [fedora-all]
CVE-2026-58438 forgejo: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
Bugzilla
CVE-2026-58438 forgejo: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference [epel-all]
bugzilla·2026-08-19·CVSS 7.5
CVE-2026-58438 [HIGH] CVE-2026-58438 forgejo: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference [epel-all]
CVE-2026-58438 forgejo: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
Bugzilla
CVE-2026-58438 gitea.dev: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference
bugzilla·2026-08-13·CVSS 7.5
CVE-2026-58438 [HIGH] CVE-2026-58438 gitea.dev: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference
CVE-2026-58438 gitea.dev: Gitea: Unauthorized tampering and commenting on private repositories via insecure direct object reference
Cross-repository IDOR in issue-dependency removal lets an attacker tamper with and comment on private repos they cannot access
2026-08-13
Published