False positives reduced in cleartext-transmission, zipslip, unpinned-tag queries
v2.25.5
CodeQL is the static analysis engine behind GitHub code scanning, which finds and remediates security issues in your code. We’ve recently released CodeQL 2.25.5, which includes accuracy improvements across C/C++, Java/Kotlin, and GitHub Actions queries.
Language and framework support
Java/Kotlin
- We’ve introduced a new sink kind,
path-injection[read], for Models-as-Data rows that only read from a path (such asClassLoader.getResource,FileInputStream, andFileReader). This helps queries distinguish read-only path sinks from more dangerous ones.
GitHub Actions
- We’ve extended the
poisonable_stepsmodeling to detect additional sinks, including scripts executed via Python modules andgo runin directories.
Query changes
C/C++
- The
cpp/cleartext-transmissionquery no longer raises an alert on calls tofscanf(and variants) when the call reads from an input that isn’t a socket, reducing false positives.
Java/Kotlin
- The
java/zipslipquery no longer reports archive entry names that flow only to read-only path sinks such asClassLoader.getResource,FileInputStream, andFileReader, reducing false positives.
GitHub Actions
- The
actions/unpinned-tagquery now analyzes composite action metadata (action.ymlandaction.yamlfiles) in addition to workflow files, providing more comprehensive detection. - We’ve fixed the help file descriptions for the
actions/untrusted-checkout/critical,actions/untrusted-checkout/high, andactions/untrusted-checkout/mediumqueries. - We’ve renamed
actions/untrusted-checkout/highto more clearly describe which parts of the scenario run in a privileged context.
For a full list of changes, please refer to the complete changelog for version 2.25.5. Every new version of CodeQL is automatically deployed to users of GitHub code scanning on github.com. The new functionality in CodeQL 2.25.5 will also be included in GitHub Enterprise Server (GHES) release 3.22. If you use an older version of GHES, you can manually upgrade your CodeQL version.
The post CodeQL 2.25.5 improves query accuracy for GitHub Actions appeared first on The GitHub Blog.
Fetched May 29, 2026


