LLMs Are Getting Smarter, But Not Safer: Veracode 2026 GenAI Code Security ReportFinds AI-Generated Code Security Has Stalled at 56% Pass Rate
28.7.2026 13:50:00 CEST | Business Wire | Press release
AI Models Built for Software Coding Are No More Secure Than General-Purpose ModelsDespite Major Gains in AI Speed, Capability, and Reasoning, Veracode Report Reveals Nearly Half of AI-Generated Code Still Fails Security Tests
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/



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
The Estée Lauder Companies and University of Leeds Partner to Advance the Future of Complexion Shade Matching14.8.2026 15:00:00 CEST | Press release
New research aims to tackle one of beauty’s most persistent challenges: accurately matching shade complexion-enhancing products to the full, diverse spectrum of global skin tones The Estée Lauder Companies Inc. (NYSE: EL) today announced a research collaboration with the School of Design, University of Leeds, United Kingdom, and Dr. Kaida Xiao, a world-renowned leader in color science and visual perception. Despite significant advances in beauty innovation, finding the right foundation or concealer shade remains one of the most common consumer frustrations. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260814256032/en/ Foundation shades are evaluated as part of color science research. By combining advanced color science with research into how consumers perceive their own skin, this partnership aims to strengthen the development of luxury and prestige complexion-enhancing products with more precise shade matching and improve
ZPG Reaches Agreement to Sell Hometrack to Providence Equity Partners14.8.2026 11:00:00 CEST | Press release
ZPG today announced an agreement with Providence Equity Partners for the sale of Hometrack. Under ZPG’s ownership, Hometrack has grown into a leading provider of residential real estate digital valuation and property risk data & analytics in the UK and Netherlands. The transaction marks a natural evolution for ZPG as the group focuses on its distinct businesses, each performing strongly and well positioned for the opportunities ahead: Zoopla, a leading UK property and homeowner data platform; Alto, the UK’s foremost workflow platform for real estate agents; RVU, a leading distribution and home management platform built on iconic UK household brands, including Uswitch and Confused.com; and Tempcover, a market-leading temporary insurance provider. ZPG and its shareholders remain excited about the outlook for each of these businesses. Charlie Bryant, Chief Executive Officer of Hometrack, said: “ZPG and its shareholders have been outstanding partners, their support has been integral to bui
Paysafe Becomes Envision Racing Title Partner to Build the Future of Fan Engagement; Where Motorsport, Gaming and Payments Become One14.8.2026 09:59:00 CEST | Press release
New alliance will turn Formula E fans into participants, connecting race weekends, gaming and rewards through Paysafe's global payments network, with the team entering the new Gen4 era as Paysafe Envision Racing Paysafe (NYSE: PSFE), a leading payments platform, today announced a title partnership with Envision Racing, one of Formula E's most successful and innovative teams, heralding a new era as Paysafe Envision Racing. Together, the two companies will power the future of connected fan experiences, uniting world-class motorsport, gaming and digital payments into the most engaging, rewarding and sustainable fan ecosystem in sport. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260814738341/en/ A new era begins in Formula E as Envision Racing becomes Paysafe Envision Racing. The partnership is built on a simple idea: fans shouldn't have to choose between watching the action and being a part of it. From the grid to gaming, es
CFO Worx Named No. 448 on the 2026 Inc. 5000 List, the Most Prestigious Ranking of America’s Fastest-Growing Private Companies13.8.2026 22:21:00 CEST | Press release
Company Recognized for 776% Three-Year Revenue Growth, Earning a Place Among the Nation’s Most Successful Independent Businesses CFO Worx today announced it has been ranked No. 448 on the 2026 Inc. 5000 list, the annual list of the fastest-growing private companies in America. The list is the most prestigious ranking of the nation’s most successful independent and entrepreneurial businesses, recognizing companies that have achieved remarkable growth while driving innovation, creating jobs, and shaping the future of the economy. Past honorees include companies such as Microsoft, Meta, Chobani, Oracle, and Patagonia. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260813927944/en/ Brian Alvarez, CEO of CFO Worx "Earning a place on the list comes down to the trust our clients place in us and is a testament to the caliber of the team behind every engagement," said Brian Alvarez, CEO of CFO Worx. This year’s Inc. 5000 recognizes a
Andersen Global udvider sine juridiske kompetencer gennem samarbejde med Beech Incorporated13.8.2026 18:01:00 CEST | Pressemeddelelse
Andersen Global indgår en samarbejdsaftale med det sydafrikanske advokatfirma Beech Incorporated og udvider dermed sine juridiske kompetencer i regionen. Beech Incorporated leverer juridisk og regulatorisk rådgivning til mine-, vedvarende energi-, infrastruktur-, olie- og gassektorerne med speciale inden for fusioner og opkøb, kommercielle forhold, projektfinansiering, sundhed, sikkerhed og miljø, ansættelsesret samt compliance. Firmaets tværfaglige team rådgiver klienter gennem hele projektets livscyklus – fra udvikling og finansiering til drift og interessenthåndtering – og er anerkendt som et førende advokatfirma af blandt andre publikationer somChambers and Partners og The Legal 500 . "Vores tilgang bygger på en praktisk forståelse af de brancher, vi arbejder inden for, og på at levere konkret og handlingsorienteret rådgivning til klienter, der opererer i komplekse regulatoriske miljøer," siger Warren Beech, der er CEO for Beech Incorporated. "Gennem samarbejdet med Andersen Global
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