Veracode Finds First Meaningful Gain in AI Code Security Since 2025 as Average Pass Rate Hits 62%
29.10.2026 14:27:00 CET | Business Wire | Press Release
Veracode, the global leader in application risk management, today announced a jump from 56 percent to 62 percent in overall AI-generated code security, alongside a drop in vulnerabilities from 44 percent to 38 percent — the most significant improvement since the GenAI Code Security Report series began in July 2025. Anthropic's Claude Opus 5.5 and OpenAI's GPT-6-Sol co-lead the rankings at 73 percent, surpassing the previous high of 68 percent set by GPT-5.5 in July 2026.
“We’ve been analysing code generated by multiple LLMs for more than a year. Until now, we have not seen a marked improvement in AI code security, despite consistently near-perfect functionality,” said Chris Wysopal, Co-founder & Chief Security Evangelist at Veracode. “This is the first time since running our study that we’ve been able to report a meaningful move on the security dial. Ten models now clear 60 percent, up from four in the last report, and the overall average has jumped six percentage points. With around half of code now generated by AI, today’s results are truly encouraging.”
Claude Opus 5.5 and GPT-6-Sol Lead the Way
Veracode tested 18 models across four languages (Python, C#, JavaScript, Java) and four Common Weakness Enumeration (CWE) categories (CWE-89, CWE-327, CWE-80, CWE-117). Claude Opus 5.5 and GPT-6-Sol tied at 73 percent, dethroning GPT-5.5, which led the summer 2026 snapshot at 68 percent. Anthropic and OpenAI each have models in the top seven. In July, six of 11 models sat between 50 and 53 percent; today only two remain in that band, while 10 clear 60 percent. The floor hasn't moved, however, with the bottom still at 44–50 percent, meaning vulnerability volume still depends on model selection.
Rank | Model | Security Pass Rate | Syntax |
1 | Claude Opus 5.5 (Anthropic) | 73% | 100% |
1 | GPT-6-Sol (OpenAI) | 73% | 100% |
3 | Claude Sonnet 5.5 (Anthropic) | 72% | 99% |
4 | GPT-5.6-Sol (OpenAI) | 70% | 100% |
5 | Grok 4.7 (xAI) | 69% | 100% |
6 | Qwen 3.8-Max-0902 (Alibaba) | 68% | 100% |
7 | Claude Sonnet 5 (Anthropic) | 66% | 100% |
7 | GPT-6-Luna (OpenAI) | 66% | 100% |
9 | GLM 5.3 (Z-AI) | 64% | 100% |
10 | Gemini 3.8 Flash (Google) | 62% | 100% |
11 | Gemini 3.7 Flash (Google) | 60% | 100% |
12 | DeepSeek V4 Pro (DeepSeek) | 59% | 100% |
13 | Kimi K3 (Moonshot AI) | 58% | 100% |
13 | Grok 4.6 (xAI) | 58% | 100% |
15 | MiniMax M3 | 56% | 100% |
16 | Qwen 3.7-Max (Alibaba) | 50% | 100% |
16 | Palmyra X5 (Writer) | 50% | 91% |
17 | Nova 2 Lite (Amazon) | 44% | 100% |
Fig. 1: Veracode Code Security Report October 2026 Edition LLM Leaderboard by Security Pass Rate | |||
The Improvement Has a Caveat: XSS Is Doing the Heavy Lifting
Vulnerability type CWE-80, cross-site scripting (XSS), was the main driver of the overall gain. Despite being one of the weaker categories, XSS rose to 18 percent, in contrast to its modest uptick demonstrated in July’s analysis. This represents the single biggest shift in the dataset. Meanwhile, crypto (CWE-327) held at 87 percent, Structured Query Language (SQL) injection (CWE-89) held at 84 percent, and log injection (CWE-117) remained flat at 13 percent. The reason is structural: XSS is the easiest vulnerability to fix through pattern recognition, which is exactly how LLMs improve. Log injection requires data-flow reasoning across multiple functions, where LLMs continue to stall.
Progress Comes at a Price
The top-performing models carry premium compute costs. Performance also correlates with model size: large models average 55 percent versus 51 percent for small models, which reverses last year's finding that size had "essentially no effect" on security.
“The models that produce the most secure code are the ones that cost the most to run at scale, yet they still fail on more than one in four security tasks,” Wysopal said. “The answer should never be to use the most expensive model and hope for the best. A mid-tier model at a 60 percent pass rate plus Veracode scanning is more accurate, more cost-effective, and more scalable than a frontier model at 73 percent with no verification. Organisations must look for a combination of coding model, security testing, and remediation to get the highest security outcome.”
The Field is Splitting
- General models pull further ahead of coding models. General-purpose models average 54 percent on security tasks versus 51 percent for coding-specialised models — a gap that has widened from one to three points since July.
- Nearly four in 10 AI code tasks still produce vulnerable code. The rate of vulnerabilities dropped from 44 to 38 percent. This is meaningful but still means roughly four in 10 tasks produced vulnerable code without security-specific guidance.
- Java is still stuck. Java remains the dramatic outlier at 31 percent, barely up from 30 percent in July. The gap between Java and the other three languages (Python at 64 percent, C# at 60 percent, and JavaScript at 57 percent) is still 26–33 percentage points.
Language | July 2026 | October 2026 |
Python | ~62% | 64.22% |
C# | ~58% | 59.55% |
JavaScript | ~57% | 56.99% |
Java | 30% | 31.00% |
Fig. 2: Veracode Code Security Report October 2026 Edition, Security Pass Rate by Language | ||
The Bottom Line
The improvement is real but mends a small part of a larger wound. According to Veracode's 2026 State of Software Security report, 82 percent of organisations now carry security debt (vulnerabilities unresolved for more than a year). Moreover, 66 percent of the most dangerous, long-lived vulnerabilities come from third-party code, taking 358 days to fix on average.
“Newer LLMs are producing more code that’s both functional and secure, but that does not mean we can start blindly trusting AI-generated code,” Wysopal closed. “The most effective strategy isn't chasing the most expensive model for marginal gains; it's combining AI code generation with continuous, independent security verification that catches what the models miss. That approach covers the full risk surface, from first-party code to third-party dependencies."
About the GenAI Code Security Report
This update reflects rigorous analysis conducted in October 2026. For the full data and details on security trends, read the October 2026 GenAI Code Security Report on the Veracode website.
About Veracode
Veracode is a global leader in Application Risk Management for the AI era. Powered by trillions of lines of code scans and a proprietary AI-assisted remediation engine, the Veracode platform is trusted by organisations worldwide to build and maintain secure software from code creation to cloud deployment. Thousands of the world’s leading development and security teams use Veracode every second of every day to get accurate, actionable visibility of exploitable risk, achieve real-time vulnerability remediation, and reduce their security debt at scale. Veracode is a multi-award-winning company offering capabilities to secure the entire software development life cycle, including Veracode Fix, Static Analysis, Dynamic Analysis, Software Composition Analysis, Container Security, Application Security Posture Management, Malicious Package Detection, Package Firewall, and Penetration Testing.
Learn more at www.veracode.com, on the Veracode blog, and on LinkedIn and X.
Copyright © 2026 Veracode, Inc. All rights reserved. Veracode is a registered trademark of Veracode, Inc. in the United States and may be registered in certain other jurisdictions. All other product names, brands, or logos belong to their respective holders. All other trademarks cited herein are property of their respective owners.
View source version on businesswire.com: https://www.businesswire.com/news/home/20261029954519/en/
Contacts
Press and Media Contact
Katy Gwilliam
Head of Global Communications, Veracode
kgwilliam@veracode.com
(c) 2024 Business Wire, Inc., All rights reserved.
Business Wire, a Berkshire Hathaway company, is the global leader in multiplatform press release distribution.
Subscribe to releases from Business Wire
Subscribe to all the latest releases from Business Wire by registering your e-mail address below. You can unsubscribe at any time.
Latest releases from Business Wire
Epinal, Inc. Emerges from Stealth with First-of-Its-Kind Breakthrough Semiconductor Electrochemical Biosensor (SEB) for Detection of Narcotics and Disease Biomarkers in Human Breath in Minutes11.11.2026 14:22:00 CET | Press Release
Epinal, Inc., after over six years of under-the-radar development, has officially emerged from stealth mode, introducing a breakthrough Semiconductor Electrochemical Biosensor (SEB) designed to detect narcotics and disease biomarkers directly from human breath in minutes. By combining advanced semiconductors, electrochemical sensing, tailored protein engineering, and artificial intelligence, Epinal has addressed the historical sensitivity, selectivity, scaling, stability, and signal-to-noise limitations that have long bottlenecked biosensors. Epinal’s Semiconductor Electrochemical Biosensor (SEB) will be integrated into the next generation of low cost, disposable, single-use breathalyzer cartridges where the integrity of test results is of utmost importance. In the case of narcotic detection, a rapid, non-invasive, and objective result changes an outcome. End customers for Epinal’s SEB include breathalyzer manufacturers, healthcare, mobile computers & clinical smartphones, handheld bio
Compass Pathways to Participate in Jefferies Global Healthcare Conference on November 18 th and 19 th11.11.2026 12:30:00 CET | Press Release
Compass Pathways plc (Nasdaq: CMPS), a biotechnology company dedicated to unlocking urgently needed new treatment options in mental health care, announced today that management will attend the Jefferies Global Healthcare Conference on November 18 and 19, 2026 and will participate in a fireside chat on November 18 at 9:00am GMT and a panel on November 19 at 10:30am GMT. A live audio webcast of the fireside chat will be accessible at the following link: https://event.summitcast.com/view/avibSrFufLKeoLRAEgMxy6/eyqYNaU4UZTBAgMVip4JTx A live audio webcast of the panel will be accessible at the following link: https://event.summitcast.com/view/avibSrFufLKeoLRAEgMxy6/guest_book?session_id=H4EMMyKtX5Gd7TPGHGc3Si A replay of both webcasts will be accessible for 30 days following each event at the “Events” page of the Investors section of the Compass website. About Compass Pathways We believe mental health patients deserve the possibility of a better future. Compass Pathways plc (Nasdaq: CMPS) i
Lufthansa Selects Alcohol-Free Gewürztraminer Made with Solos Technology for Premium Allegris Business Class Experience11.11.2026 11:55:00 CET | Press Release
Lufthansa has selected BREAKAWAY Gewürztraminer, an alcohol-free wine from German winery Bergdolt-Reif & Nett, for its Allegris Business Class. Made using Solos technology, the wine was chosen following a blind tasting and is scheduled to be served from November 2026 to January 2027. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20261111810839/en/ BREAKAWAY Gewürztraminer by Bergdolt-Reif & Nett, made with Solos technology. The selection marks a milestone for both partners, bringing their expertise to Lufthansa's premium passengers. Where winemaking meets innovation BREAKAWAY Gewürztraminer is made from a late-harvest wine, chosen for its distinctive aromatic character. Bergdolt-Reif & Nett, a fifth-generation family winery in Germany's Palatinate region, has developed alcohol-free wines since 2022. "That the wine impressed in a blind tasting is the most important point for me," says Christian Nett, winemaker and Managing Dir
Quectel SP900BF-AP Smart Module Sets the Pace for Edge AI with 100 TOPS of Computing Power11.11.2026 10:00:00 CET | Press Release
Quectel Wireless Solutions, a global end-to-end IoT solutions provider, today announced the SP900BF-AP, a smart module that lets robots, inspection systems and edge gateways run large AI models on the device itself. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20261111252890/en/ Quectel SP900BF-AP smart module sets the pace for Edge AI with 100 TOPS of computing power Built on the Qualcomm Dragonwing™ IQ-9075 Processor and delivering up to 100 TOPS of on-device AI compute, the module enables industrial OEMs to integrate advanced AI directly into their products, reducing latency, bandwidth costs and data privacy risks associated with cloud-based processing. By processing data locally, manufacturers can support real-time robotics, automated inspection and other demanding industrial applications while retaining greater control over sensitive production data. Long-term hardware availability also helps meet the extended product l
Quectel Expands 5G Antenna Portfolio With Ten Versatile Combo Solutions, From Compact 2-In-1 to Rugged 9-In-1 Designs11.11.2026 10:00:00 CET | Press Release
Quectel Wireless Solutions, a global IoT solutions provider, today announces ten external combo antennas that combine 5G with GNSS, Wi-Fi or both in a single housing. Instead of specifying, fitting and testing a separate antenna for each radio, device makers can choose one unit matched to the size, technology mix and operating environment of their deployment. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20261111461614/en/ Quectel expands 5G antenna portfolio with ten versatile combo solutions, from compact 2-in-1 to rugged 9-in-1 designs Across the family, each antenna combines multiple omnidirectional elements with high isolation between them to limit self-interference. Most models cover 5G from 600MHz to 6000MHz and remain backward compatible with 4G, 3G, 2G, LTE Cat-M and NB-IoT networks. All support screw mounting, some also adhesive mounting, and housings are built for outdoor use with ratings from IP65 up to IP69K. “Ev
In our pressroom you can read all our latest releases, find our press contacts, images, documents and other relevant information about us.
Visit our pressroom