# CodeQL support for Rust now in public preview

DevFeed: [CodeQL support for Rust now in public preview](<https://devfeed.tech/articles/codeql-support-for-rust-now-in-public-preview-72487.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2025-07-01-codeql-support-for-rust-now-in-public-preview>)

Author: Allison

Published: 2025-07-01T09:06:47Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [snyk-open-source](<https://devfeed.tech/topics/snyk-open-source.md>), [ai code review](<https://devfeed.tech/topics/ai-code-review.md>)

Tags: [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [code-security](<https://devfeed.tech/tags/code-security.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [github](<https://devfeed.tech/tags/github.md>), [github-advanced-security](<https://devfeed.tech/tags/github-advanced-security.md>), [github-com](<https://devfeed.tech/tags/github-com.md>), [preview](<https://devfeed.tech/tags/preview.md>), [rust](<https://devfeed.tech/tags/rust.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

GitHub has added CodeQL code scanning support for Rust in public preview. It detects several classes of issues, including injection vulnerabilities, cryptographic misuses, and unsafe handling of user data. Rust scanning is available on github.com and will be included in CodeQL CLI 2.22.1; it is not available on GitHub Enterprise Server during the preview.

## Source excerpt

Today, we're extending CodeQL code scanning support to Rust. Developers working on Rust libraries and apps can now benefit from our best-in-class code security analysis. We currently identify issues such...