One prompt to build an application, another to find its vulnerabilities during our engagements... On paper, it's tempting! We wanted to find out what AI really delivers when used for vulnerability research.
So, during summer 2026, we ran several models against five French and European open source projects: Chamilo LMS, Stoat, Cozy Stack, GLPI and Tuleap. Behind them, we put a pentester to frame the work and push the prompts further. In total, 23 CVEs were found.
| Project | Languages | Lines of code* | Dependencies | CVEs |
|---|---|---|---|---|
| Chamilo LMS 3.0.0 | PHP, Vue, TypeScript | ≈ 1.4 M | 340 | 4 |
| Stoat 0.15.4** | Rust, TypeScript | ≈ 42 k | 858 | 5 |
| Cozy Stack 1.6.60 | Go | ≈ 200 k | 202 | 1 |
| GLPI 11.0.8 | PHP, JavaScript | ≈ 720 k | 209 | 7 |
| Tuleap Community 17.5*** | PHP, TypeScript | ≈ 1.6 M | 189 | 6 |
*Lines of code counted with cloc on the sources of the audited version, excluding dependencies, translations and data files.
** For Stoat, this covers the Rust backend only.
*** For Tuleap, this covers the core + enterprise plugins.
The number of CVEs found isn't that interesting in itself for our analysis. What kept us busiest all summer was the gap between a flaw you find and a flaw you know how to exploit all the way.
Here, we used examples from GLPI (an IT asset management and IT support tool), because more researchers found the same vulnerabilities as we did, which gave us the most material to compare. I am one of those researchers (referred to in this article as QRA).
1. Four researchers on the same bug
For a GLPI upload flaw (GHSA-7rqw-r5p3-ff92), the bug was simple: a super-administrator can upload a file with any extension they want.
We weren't the first to identify it: another researcher had reported it just before us, and two more reported it afterwards.

With a .html file, you can trap users who open the page (a stored XSS), CVSS 8.6. A .php file, on the other hand, does nothing as is: the server doesn't execute it in that location.
The first report stops at the XSS. On our side, we looked for a place where a PHP file could be executed. In the official Docker image, it's simple: everything under /public/ is. What remained was finding a way to move our file there once uploaded.

That way exists: it's a second flaw (GHSA-pr87-h373-xr6c) that we found by looking for exactly that. By chaining the two, we get code execution on the server. CVSS 9.4. Nobody else reported it.
2. File deletion: lower the prerequisites, raise the impact
GLPI had fixed an arbitrary file deletion. While reviewing the patch, we realized it didn't close everything: the same deletion is still possible through another path (GHSA-m9x5-44w4-jj4g). The initial finding was that a technician could still delete any file on the server. That's already a valid report, but before writing it up we asked ourselves two questions:
- First: do you really need to be a technician?
- Answer: No. An access control is missing on that path, and a regular user can trigger the same deletion.
- Second: which file should be deleted to do the most damage?
- Answer: the configuration file. Without it, GLPI goes back into installation mode, and that installation page is reachable remotely. You create a new database and a super-administrator account, and take over the application.

Between the initial finding and the final report, there are two more vulnerabilities, a lower required privilege level and a much higher impact. And once you're super-administrator, you can chain into the scenario from the previous section.
We saw this several times over the summer, with different models: flaws that, taken one by one, rate as medium or high, but once combined, become critical.
The problem lies in the combining, because the models don't do it on their own (and researchers can miss it too, as was the case here).
3. Who found what
On GLPI, seven researchers were credited on the same advisories over the period. Here's what each of them reported:
| Vulnerability \ Researcher | QRA | ISA | PAI | TED | LIL | ADA | MAR |
|---|---|---|---|---|---|---|---|
| File deletion | ✅ | ✅ | ✅ | ||||
| HTML/PHP file upload | ✅ | ✅ | ✅ | ✅ | |||
| MFA bypass | ✅ | ✅ | |||||
| XSS to administrator | ✅ | ✅ | |||||
| SQL injection | ✅ | ✅ | |||||
| Missing access control | ✅ | ✅ | |||||
| File move | ✅ |
As a reminder, QRA is me: an AI-assisted pentester. The six others are the researchers credited on the GLPI advisories, but we don't know which of them worked with an AI, or which one. We were the first to find 6 of the 7 vulnerabilities.
The findings overlap fairly little, which is a result in itself. But above all, we're the only ones who identified the file move flaw, and with it the full chain that starts from a regular user and ends in code execution on the server. Several people discovered a vulnerability; nobody else went after what could be done with it (on this topic, we recommend reading our article on vulnerability scanners and why in-depth pentests matter).
4. Where we had to push
The models found these vulnerabilities, but not always on the first pass, and for some of them we had to prompt them again several times. A general instruction like "look for vulnerabilities in this project" doesn't lead them, on their own, to slightly unusual configurations or to the deeper layers of the code.
Here are two examples we ran into:
The user-to-administrator XSS only shows up in certain configurations, with data created by one user and displayed to another role. The model was testing the application as it is right after installation, i.e. empty, and didn't see it. We had to ask it to create data, change options, and look at what each role sees.
For the SQL injection, user input goes through the controller, then one or two layers of business logic, before reaching the query construction. The model stopped at the controller, concluding that the parameter was sanitized. We had to ask it to follow the data all the way to the SQL.

In the final report, this difference is no longer visible. Nothing tells you whether the model got there on its own or had to be steered back three times. A pentester recognizes an incomplete investigation, challenges a hasty conclusion and pushes further. Someone who doesn't know these mechanisms stops at the first answer.
5. Our takeaways
Three instructions unblocked our research more than all the others.
Set up a local lab. Reading the code isn't enough to see how the application behaves with different data, roles and options. The administrator XSS from section 4 only exists in an application filled with data and viewed from several accounts.
Look at how dependencies are used, not just which ones are present and in which version. It's what the code does with them that creates the flaw, or doesn't.
Look at the deployment, file locations and configurations. The PHP file from section 1 doesn't execute anywhere, until you open the official Docker image.

And two things we keep beyond the instructions. The model stops early: its first answer is often right, but incomplete. And combining flaws still has to be done by hand. Upload plus file move, deletion plus an exposed installation page: we proposed those, the model verified them.
Conclusion
We started from a simple question: does a prompt to look for vulnerabilities work? One summer and 23 CVEs later, the answer is yes. AI clearly helps identify flaws, including in codebases of more than a million lines that none of us would have read in full. But it helps only if you give it the right instructions, tailored to the project, its deployment and its configuration, and if you don't take its first answer as the final one.
It doesn't replace the pentester, though, at least not today. Models find flaws, they don't combine them, and combining is where the impact lies: a medium plus a medium makes a critical, provided someone thinks of it. Knowing that an investigation is incomplete, knowing what to dig into first, knowing when to stop: that's still a profession.
In the Hunger Games, everyone starts with the same weapons. Here too, the models are available to everyone. The difference lies in who wields them. So, on your last vulnerability research, did you dig into everything, or did you stop too early?
About: The AlgoSecure blog is a space where our whole team can express itself. Our marketing and sales staff share news about the life and growth of our Lyon-based security company. Between two penetration tests or risk analyses, our technical consultants give you their opinion and technical details on exploiting IT security vulnerabilities. They also explain how to secure your information system or your personal IT usage, with as much method and teaching as possible. Would you like to find information on specific technical topics on this blog? Let us know through our contact form, we will read your ideas carefully. Let our writers guide you: Alessio, Alexandre, Amine, Anas, Arnaud, Benjamin, Damien, Enzo, Eugénie, Fabien, Françoise, Gilles, Henri, Hicham, Jean-Charles, Jean-Philippe, Jonathan, Joël, Joëlie, Julien, Jéromine, Lucas, Ludovic, Lyse, Matt, Nancy, Natacha, Nicolas, Pierre, PierreG, Quentin, QuentinR, Sébastien, Thomas, Tristan, Yann, Yannick, and enjoy your visit!