CVE-2026-24480 Details
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.
A remote code execution vulnerability has been identified in a QGIS GitHub repository. This issue arises from a workflow named 'pre-commit checks' that used the 'pull_request_target' trigger, allowing untrusted pull request code to be executed in a privileged context. Workflows triggered by 'pull_request_target' have access to the base repository's credentials and secrets. If the workflow checks out and runs code from an external pull request, an attacker could execute arbitrary commands with elevated privileges. This vulnerability has been acknowledged as a security risk by GitHub and security researchers.
The vulnerability has been patched by changing the workflow trigger from 'pull_request_target' to 'pull_request', removing the execution of untrusted code in a privileged context. It is recommended to audit all workflow runs for unauthorized code execution, review the git history for suspicious commits, verify the integrity of release artifacts, and rotate all secrets and tokens that were accessible to the compromised workflow.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 27, 2026CISA-ADP
Assessed Jan 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/qgis/QGIS/commit/76a693cd91650f9b4e83edac525e5e4f90d954e9 | [email protected] | Source CodeVendor |
| https://github.com/qgis/QGIS/security/advisories/GHSA-7h99-4f97-h6rw | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| QGIS | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 27, 2026 | New CVE Received | [email protected] |
Volerion