56%About 6 in 10average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test)
56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test) (2023 to 2026, Veracode, GenAI Code Security Report)
Vendor dataChecked at source, 23 Oct 2026All sizesGlobalWeb and software development · AI tools
56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test) (2023 to 2026).
56%
the latest figure (2023 to 2026)
Vendor data
type of source
Why you can trust it. Veracode, GenAI Code Security Report: vendor data, a company measuring its own customers or panel.
No changes recorded yet. First checked at the source on 23 Oct 2026.
Cite this number
APA
Veracode. (2026). 56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test). Via digitaltreed, https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate
MLA
"56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test)." Veracode, GenAI Code Security Report, 2023 to 2026. digitaltreed, https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate.
HTML link
<a href="https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate">56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test)</a> (Veracode, 2023 to 2026)
Embed the chart
This stat has no chart to embed yet. Link to this page instead: https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate
FAQ
Questions about this number
What is the latest figure for AI tools (Global)?
56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test), for 2023 to 2026, according to Veracode, GenAI Code Security Report. We checked it at the source on 23 Oct 2026.
Related
More Web and software development statistics
SurveyAll sizesGlobal
65.9%
of developers use AI coding assistants or coding agents at work (Stack Overflow 2026 survey)
Sample: 30,903 valid responses from 169 countries, fielded 23 Jun to 5 Aug 2026; self-selected online survey. Each question has its own n.