Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-119546medium6.8

Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repo

Impact

Forgejo versions 15.0.11, 16.0.0-16.0.7, and 17.0.0-17.0.1 have a path traversal vulnerability in restore-repo, allowing attackers to read files outside the dump directory. Attackers can supply a crafted dump with ../ sequences in release.yml DownloadURL or PatchURL. This affects administrators who restore the dump.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Affected packages

This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.

Affected products

Vendor version evidence. Product records are separate from automatic dependency matching.

forgejo · VulnCheck

forgejo

3 ranges

Compare with this publisher’s ranges. This does not inspect your installation.

affected

0 → through 15.0.11

semver versions

16.0.0 → through 16.0.7

semver versions

17.0.0 → through 17.0.1

semver versions

unaffected

unknown

Other versions: unaffected

Original source description

Forgejo through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1 contains a path traversal vulnerability in restore-repo that allows attackers to read files outside the dump directory via crafted asset paths. Attackers can supply a dump whose release.yml DownloadURL or PatchURL contains ../ sequences, importing files like app.ini as release attachments when an administrator restores it.

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers · not supplied

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-119546

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-22 ↗

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

VulnCheck

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

VulnCheck · platform conditions

Any condition may hold

Vulnerable product

cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*

Through (inclusive): 15.0.11

Vulnerable product

cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*

From (inclusive): 16.0.0

Through (inclusive): 16.0.7

Vulnerable product

cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*

From (inclusive): 17.0.0

Through (inclusive): 17.0.1

Original applicability statements
[
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*",
            "versionEndIncluding": "15.0.11"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "16.0.0",
            "versionEndIncluding": "16.0.7"
          },
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*",
            "versionStartIncluding": "17.0.0",
            "versionEndIncluding": "17.0.1"
          }
        ]
      }
    ]
  }
]
Contributing organizations · 1
VulnCheck

Assigning organization

2026-10-30

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

References

6 sources