LLMs Are Getting Smarter, But Not Safer: Veracode 2026 GenAI Code Security Report Finds AI-Generated Code Security Has Stalled at 56% Pass Rate
28.7.2026 13:50:00 CEST | Business Wire | Press Release
Veracode, the global leader in application risk management, today released its 2026 GenAI Code Security Report which reveals that, despite rapid advances in AI coding capabilities, security has stalled. Across four testing snapshots and more than 100 models tracked since the program began, the average security pass rate sits at 56 percent — virtually unchanged since last year’s report. Each model was evaluated on code-generation tasks spanning multiple programming languages and vulnerability categories, under standardized conditions with no security-specific prompting. AI now generates roughly half of all committed code, but the security gap isn’t narrowing.
This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260728207685/en/
Fig. 1: The GenAI Code Security Report Leaderboard: Summer 2026
The contrast is stark: models generate compilable code at a near-universal syntax pass rate of ~100 percent. When it comes to security, they fail nearly 44 percent of the time when given no security-specific guidance.
“As AI-fueled code velocity increases, developers are becoming inundated with compliance risks, security alerts, and quality issues,” said Chris Wysopal, Co-founder and Chief Security Evangelist at Veracode. “We’re seeing a rapid increase in the adoption of AI-powered tools to write code and build software. But the root problem remains: models may be almost syntactically perfect, but they are still failing on nearly half of all tasks where security is needed. That number should be a red flag for any organization.”
The GenAI Code Security Report Leaderboard: Summer 2026
OpenAI’s GPT-5.5 leads this year’s report at 68 percent, while six of the 11 models cluster between 50 percent and 53 percent. Alibaba’s Qwen3.7-max comes last at 50 percent, generating vulnerable code every other output in this test. The best model available today still fails nearly one in three security tasks. Notably, previous editions of the report were dominated by Western AI models. That's no longer the case, with Kimi-K2.6 and MiMo-V2.5 outperforming several Western models. For enterprise security teams, model provenance is one more factor worth weighing in for procurement decisions, alongside security pass rate.
Models Built for Coding and Larger LLMs Aren’t Safer
Two widely held assumptions don’t survive the data. First, models built specifically for writing software code are no more secure than general-purpose AI. Coding-specialized models averaged a 51 percent security pass rate, compared with 52 percent for general-purpose models. The tests were run against the raw models and not agents or production environments with additional tooling, guardrails, or human review in the loop. This means, developers who opt for coding-optimized tools on the assumption they’ll minimize security risk are actually shipping vulnerable code at the same rate as everyone else.
Second, model size has no impact on security performance. Large models (more than 100 billion parameters) average 53 percent, medium models average 51 percent, and small models average 51 percent. The one architectural factor that does help: reasoning models maintain a consistent security edge over non-reasoning models, at 56 percent versus 51 percent. This suggests extended reasoning functions as a form of internal code review.
Java Is Still Last — But It’s Moving in the Right Direction
Security pass rates by language range from Python at 63 percent down to Java at only 30 percent. Java remains the riskiest language for AI code generation by a significant margin. Despite sub-optimal performance, it is the only language with a clear, consistent upward trend over the past year.
“I’ve been vocal about making advanced AI models, like Claude Fable and Mythos, available to developers and defenders alike — and I stand by that position,” Wysopal closed. “The right answer is not restricting access; it’s transparent, evidence-based safety. What this research makes clear is that AI-generated code needs to be treated like any unreviewed code: scan it, fix it, and never ship it blind. Until LLMs reason about security the way they reason about syntax, guardrails in the development workflow aren’t optional.”
Managing Risk in the AI Era
Veracode recommends organizations take the following steps to address the security gap in AI-generated code:
- Integrate AI-powered tools like Veracode Fix into developer workflows to remediate security risks in real time.
- Embed security in agentic workflows to enforce secure coding standards automatically.
- Use Software Composition Analysis (SCA) to detect vulnerabilities from third-party and open-source dependencies in AI-generated code.
- Deploy Package Firewall to block vulnerable, malicious or non-compliant packages before they reach the development environment.
To download the full 2026 GenAI Code Security Report, visit the Veracode website. Attendees at Black Hat in Las Vegas August 4-7 are invited to visit booth #4927 to learn more about AI code security and the report’s findings.
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 organizations 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/20260728207685/en/
Contacts
Press and Media
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
ICC Arbitral Tribunal Issues Quantum Award for AOP Health in BESREMi® Proceedings7.8.2026 19:48:00 CEST | Press Release
An ICC Arbitral Tribunal has awarded AOP Orphan Pharmaceuticals GmbH (“AOP Health”) a total of about EUR 112 Mio in a quantum award issued in the ongoing arbitration proceedings with PharmaEssentia Corp. (“PharmaEssentia”) concerning BESREMi® (ropeginterferon alfa-2b). The award quantifies AOP Health’s damage claims for PharmaEssentia’s intentional breaches at ca. EUR 82 Mio. It also awards AOP Health ca. EUR 31 Mio plus interest as reimbursement for AOP Health overpayments made to PharmaEssentia as a result of excessive pricing in the years 2019-2022. The Tribunal thereby confirmed that PharmaEssentia has been overcharging AOP Health by up to 900% over these years. The Tribunal affirmed AOP Health's valid set-off of the profit-sharing payments amount owed to PharmaEssentia of approximately EUR 17 Mio against AOP Health's substantially exceeding damages claims. This means that AOP Health shall not make any payment to PharmaEssentia. Interest on AOP Health’s claims will continue to accr
Coulson Aviation Canada Acquires 10 Former RCAF Hercules, Doubling C-130H Fleet7.8.2026 19:16:00 CEST | Press Release
Coulson Aviation Canada, the Canadian division of Coulson Aviation, has acquired 10 former Royal Canadian Air Force CC-130H Hercules aircraft from the Government of Canada. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260807019094/en/ Britton Coulson, left, and Wayne Coulson stand in front of one of 10 former Royal Canadian Air Force CC-130H Hercules aircraft recently acquired by Coulson Aviation from the Government of Canada. At right is a Coulson C-130H outfitted for aerial firefighting with the company’s proprietary RADS-XXL retardant delivery system, capable of carrying up to 4,000 U.S. gallons, or more than 15,000 litres, of water or fire retardant. The acquisition doubles Coulson’s global C-130H fleet to 20 aircraft, expanding its capacity to build the world’s largest C-130 airtanker fleet. The acquisition doubles Coulson’s global C-130H fleet from 10 aircraft to 20 and gives its Canadian division the scale to build
Energy Vault Announces Strategic Agreement to Deploy 1.25 GW of Integrated Power Infrastructure for Hyperscaler AI Data Center with Leading Power Generation EPC Deploying Caterpillar Gensets7.8.2026 18:16:00 CEST | Press Release
Energy Vault Holdings, Inc. (NYSE: NRGV) ("Energy Vault"), a global leader in sustainable energy infrastructure, today announced the execution of a strategic commercial agreement under which Energy Vault will supply battery energy storage systems ("BESS"), grid-forming power conversion systems and AI infrastructure controlsoftware to support an initial deployment totaling 1.25 gigawatts ("GW") of integrated power infrastructure for hyperscaler AI data centers. The agreement establishes a repeatable AI power infrastructure platform that combines dispatchable power generation, intelligent battery energy storage, grid-forming inverter systems, advanced AI infrastructure controls software and turnkey EPC and plant integration into a single integrated solution designed specifically for hyperscaler AI data centers and high-performance computing campuses. The companies will jointly deploy fully integrated, off-grid power systems capable of bringing AI compute capacity online significantly fas
SES Advances Next-generation MEO Strategy Following Successful Completion of IRIS² Rendez-vous 17.8.2026 10:52:00 CEST | Press Release
SES today announced the successful completion of Rendez-vous 1 (RDV1) under the Infrastructure for Resilience, Interconnectivity and Security by Satellite (IRIS²) programme, marking a key milestone in the programme's implementation phase and reinforcing Europe's path towards sovereign, resilient and secure satellite connectivity. The successful completion of RDV1 confirms the programme's readiness to move forward with implementation and provides greater visibility on the long-term scope, performance and economics of the MEO segment. SES's expected capital commitment for the MEO segment is up to €1.35 billion, reflecting current programme scope, while maintaining the deployment of 18 MEO satellites and the targeted service entry in 2030. SES’s share of the investment in the IRIS² programme for 2026 is included in SES’s FY26 Capex outlook as previously communicated. No future exceptional cash proceeds will be used to fund the project. Since the signing of the IRIS² Concession Contract in
Allianz Delivers Record Result and Is Well on Track to Achieve Its Targets7.8.2026 07:10:00 CEST | Press Release
2Q 2026 This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260806509750/en/ Oliver Bäte, Chief Executive Officer of Allianz SE Total business volume at 45.6 billion euros, an internal growth of 5.7 percent1, with contributions from all segments. Asset Management delivers excellent growth. Operating profit rises 10.6 percent to a record level of 4.9 billion euros. Shareholders’ core net income at 2.6 billion euros; 12.7 percent below last year. Adjusted for a divestment gain last year and offsetting measures following the sale of the stake in our Indian JVs, underlying growth is strong at 10 percent. 6M 2026 Total business volume at 98.6 billion euros, an internal growth of 4.3 percent1, driven by Property-Casualty and especially Asset Management. Operating profit rises 8.6 percent and reaches a record level of 9.4 billion euros. Shareholders’ core net income advances 15.5 percent to 6.4 billion euros. Adjusted for divestment eff
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