{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "5.13.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "d380579c84accf1786934deee245650bbc68a562"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "5.13.3",
                "range": [
                  {
                    "fixed": "bb6de23689dbef372037ceb76fa8148abe5e2d03"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bb6de23689dbef372037ceb76fa8148abe5e2d03"
            },
            {
              "fixed": "d380579c84accf1786934deee245650bbc68a562"
            }
          ],
          "repo": "https://github.com/lbr38/repomanager",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ph7j-x866-rc66"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130157.json"
  },
  "details": "RepoManager is a self-hosted deb/rpm package repository. Prior to 5.13.3, an attacker who controls an upstream RPM repository mirrored by a RepoManager instance can provide a package filename through the primary.xml \u003clocation href\u003e field; the mirror passes that filename into a shell-interpreted RPM query, allowing shell metacharacters to execute commands as the www-data service account. The target must mirror an upstream repository controlled by the attacker, and the default \"Check GPG signatures\" option triggers the vulnerable call. The command executes before a later signature-verification failure, so a valid signed package is not required. Fixed in 5.13.3.",
  "id": "CVE-2026-130157",
  "modified": "2026-11-19T19:45:47.577957543Z",
  "published": "2026-11-19T18:39:45.096Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130157.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lbr38/repomanager/commit/d380579c84accf1786934deee245650bbc68a562"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lbr38/repomanager/pull/403"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lbr38/repomanager/releases/tag/5.13.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lbr38/repomanager/security/advisories/GHSA-ph7j-x866-rc66"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130157"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "RepoManager: Command injection (RCE) via unsanitized RPM package filename when mirroring a repository"
}