{"id":"CVE-2026-44218","aliases":["EUVD-2026-29795","GHSA-jrm4-4pcf-4763","PYSEC-2026-2409"],"status":"published","title":"ciguard: Container image runs as root (no USER directive)","description":"ciguard is a static security auditor for CI/CD pipelines. From 0.1.0 to 0.8.1, the published ghcr.io/jo-jo98/ciguard container image inherits the default root user because the Dockerfile lacks a USER directive. This vulnerability is fixed in 0.8.2.","severity":{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00122,"percentile":0.01984,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269"],"published":"2026-05-05T22:18:15Z","modified":"2026-10-28T02:31:11Z","fixes":[{"ecosystem":"PyPI","package":"ciguard","fixed_in":["0.8.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ciguard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"last_affected":"0.8.1"},{"fixed":"0.8.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ciguard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"0.8.2"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0","0.6.1","0.7.0","0.8.1"]},{"source":"osv","ecosystem":"PyPI","package":"ciguard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"0.8.2"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0","0.6.1","0.7.0","0.8.1"]}],"products":[{"vendor":"jo-jo98","product":"ciguard"}],"references":[{"url":"https://github.com/Jo-Jo98/ciguard/security/advisories/GHSA-jrm4-4pcf-4763","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.2","tags":["web"]},{"url":"https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.3","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44218","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jrm4-4pcf-4763","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44218.json","tags":["advisory"]},{"url":"https://github.com/Jo-Jo98/ciguard","tags":["package"]},{"url":"https://pypi.org/project/ciguard","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-44218","title":"ciguard: Container image runs as root (no USER directive)","description":"ciguard is a static security auditor for CI/CD pipelines. From 0.1.0 to 0.8.1, the published ghcr.io/jo-jo98/ciguard container image inherits the default root user because the Dockerfile lacks a USER directive. This vulnerability is fixed in 0.8.2.","status":"published","published":"2026-05-12T19:39:16.632Z","modified":"2026-05-14T12:30:51.422Z","cvss":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T13:42:49.132798Z"}],"euvd":[{"id":"EUVD-2026-29795","description":"ciguard is a static security auditor for CI/CD pipelines. From 0.1.0 to 0.8.1, the published ghcr.io/jo-jo98/ciguard container image inherits the default root user because the Dockerfile lacks a USER directive. This vulnerability is fixed in 0.8.2.","status":"published","published":"2026-05-12T19:39:16Z","modified":"2026-05-14T12:30:51Z","cvss":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low"}],"updated_at":"2026-11-02T19:04:31.58892Z"}],"ghsa":[{"id":"GHSA-jrm4-4pcf-4763","title":"ciguard: Container image runs as root (no USER directive)","description":"## Summary\n\nThe published `ghcr.io/jo-jo98/ciguard` container image inherits the default root user because the `Dockerfile` lacks a `USER` directive. ciguard is a static analyser with no need for root privileges; running as root inside a container makes any future container-runtime escape CVE more impactful than it needs to be.\n\n## Threat scenario\n\nDefence-in-depth gap. Without a known container-runtime CVE in the chain, this finding is not directly exploitable. Recent runc CVEs (e.g. CVE-2024-21626) provided escape primitives that depended on host UID = container UID = 0 for full impact; with this fix, any future such escape primitive lands as a non-root user on the host.\n\n## Patch\n\n- Dockerfile adds `RUN groupadd -r ciguard \u0026\u0026 useradd -r -g ciguard -d /home/ciguard -m -s /usr/sbin/nologin ciguard \u0026\u0026 chown -R ciguard:ciguard /reports /policies-mount /app`.\n- Followed by `USER ciguard` before the `CMD` directive.\n- Trivy DS-0002 misconfig clears (`Tests: 20 SUCCESSES: 20 FAILURES: 0`).\n\n## Discovery\n\nFound by Trivy filesystem scan during ciguard's first self-conducted pentest cycle, 2026-04-26.\n\n## CVSS Scoring\n\n- CVSS v3.1: `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N` — 2.0 (Low)\n- CVSS v4.0: `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N` — 3.4 (Low) per Cycle 1 report; GitHub's calc 1.8 (Low). Both Low.\n\n## Verification\n\n```\n$ docker run --rm ghcr.io/jo-jo98/ciguard:v0.8.2 id\nuid=999(ciguard) gid=999(ciguard) groups=999(ciguard)\n```\n\n## References\n\n- Fix released in [v0.8.2](https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.2)\n- CI regression gate added in [v0.8.3](https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.3)\n- https://www.cve.org/CVERecord?id=CVE-2026-44218","status":"published","published":"2026-05-05T22:18:15Z","modified":"2026-05-15T23:50:19Z","cvss":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low"},{"version":"4.0","score":1.8,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:40:11.298154Z"}],"nvd":[{"id":"CVE-2026-44218","description":"ciguard is a static security auditor for CI/CD pipelines. From 0.1.0 to 0.8.1, the published ghcr.io/jo-jo98/ciguard container image inherits the default root user because the Dockerfile lacks a USER directive. This vulnerability is fixed in 0.8.2.","status":"published","published":"2026-05-12T20:16:42.637Z","modified":"2026-10-26T18:10:00.173Z","cvss":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:12:18.613259Z"}],"osv":[{"id":"CVE-2026-44218","title":"ciguard: Container image runs as root (no USER directive)","description":"ciguard is a static security auditor for CI/CD pipelines. From 0.1.0 to 0.8.1, the published ghcr.io/jo-jo98/ciguard container image inherits the default root user because the Dockerfile lacks a USER directive. This vulnerability is fixed in 0.8.2.","status":"published","published":"2026-05-12T19:39:16.632Z","modified":"2026-10-28T02:31:11.897314248Z","cvss":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:45:04.820169Z"},{"id":"GHSA-jrm4-4pcf-4763","title":"ciguard: Container image runs as root (no USER directive)","description":"## Summary\n\nThe published `ghcr.io/jo-jo98/ciguard` container image inherits the default root user because the `Dockerfile` lacks a `USER` directive. ciguard is a static analyser with no need for root privileges; running as root inside a container makes any future container-runtime escape CVE more impactful than it needs to be.\n\n## Threat scenario\n\nDefence-in-depth gap. Without a known container-runtime CVE in the chain, this finding is not directly exploitable. Recent runc CVEs (e.g. CVE-2024-21626) provided escape primitives that depended on host UID = container UID = 0 for full impact; with this fix, any future such escape primitive lands as a non-root user on the host.\n\n## Patch\n\n- Dockerfile adds `RUN groupadd -r ciguard \u0026\u0026 useradd -r -g ciguard -d /home/ciguard -m -s /usr/sbin/nologin ciguard \u0026\u0026 chown -R ciguard:ciguard /reports /policies-mount /app`.\n- Followed by `USER ciguard` before the `CMD` directive.\n- Trivy DS-0002 misconfig clears (`Tests: 20 SUCCESSES: 20 FAILURES: 0`).\n\n## Discovery\n\nFound by Trivy filesystem scan during ciguard's first self-conducted pentest cycle, 2026-04-26.\n\n## CVSS Scoring\n\n- CVSS v3.1: `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N` — 2.0 (Low)\n- CVSS v4.0: `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N` — 3.4 (Low) per Cycle 1 report; GitHub's calc 1.8 (Low). Both Low.\n\n## Verification\n\n```\n$ docker run --rm ghcr.io/jo-jo98/ciguard:v0.8.2 id\nuid=999(ciguard) gid=999(ciguard) groups=999(ciguard)\n```\n\n## References\n\n- Fix released in [v0.8.2](https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.2)\n- CI regression gate added in [v0.8.3](https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.3)\n- https://www.cve.org/CVERecord?id=CVE-2026-44218","status":"published","published":"2026-05-05T22:18:15Z","modified":"2026-07-13T16:42:47.417118723Z","cvss":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low"},{"version":"4.0","score":1.8,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:46:51.10002Z"},{"id":"PYSEC-2026-2409","title":"ciguard: Container image runs as root (no USER directive)","description":"## Summary\n\nThe published `ghcr.io/jo-jo98/ciguard` container image inherits the default root user because the `Dockerfile` lacks a `USER` directive. ciguard is a static analyser with no need for root privileges; running as root inside a container makes any future container-runtime escape CVE more impactful than it needs to be.\n\n## Threat scenario\n\nDefence-in-depth gap. Without a known container-runtime CVE in the chain, this finding is not directly exploitable. Recent runc CVEs (e.g. CVE-2024-21626) provided escape primitives that depended on host UID = container UID = 0 for full impact; with this fix, any future such escape primitive lands as a non-root user on the host.\n\n## Patch\n\n- Dockerfile adds `RUN groupadd -r ciguard \u0026\u0026 useradd -r -g ciguard -d /home/ciguard -m -s /usr/sbin/nologin ciguard \u0026\u0026 chown -R ciguard:ciguard /reports /policies-mount /app`.\n- Followed by `USER ciguard` before the `CMD` directive.\n- Trivy DS-0002 misconfig clears (`Tests: 20 SUCCESSES: 20 FAILURES: 0`).\n\n## Discovery\n\nFound by Trivy filesystem scan during ciguard's first self-conducted pentest cycle, 2026-04-26.\n\n## CVSS Scoring\n\n- CVSS v3.1: `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N` — 2.0 (Low)\n- CVSS v4.0: `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N` — 3.4 (Low) per Cycle 1 report; GitHub's calc 1.8 (Low). Both Low.\n\n## Verification\n\n```\n$ docker run --rm ghcr.io/jo-jo98/ciguard:v0.8.2 id\nuid=999(ciguard) gid=999(ciguard) groups=999(ciguard)\n```\n\n## References\n\n- Fix released in [v0.8.2](https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.2)\n- CI regression gate added in [v0.8.3](https://github.com/Jo-Jo98/ciguard/releases/tag/v0.8.3)\n- https://www.cve.org/CVERecord?id=CVE-2026-44218","status":"published","published":"2026-07-13T15:15:38.486819Z","modified":"2026-07-13T16:32:11.29440418Z","cvss":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","level":"low"},{"version":"4.0","score":1.8,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"}],"updated_at":"2026-11-02T15:52:55.961245Z"}]}}
