CVE triage: an AI workflow for vulnerability prioritisation
The scanner flags CVE-2024-3400, a command injection in Palo Alto PAN-OS GlobalProtect rated CVSS 10.0, on two firewalls. One is internet-facing and the flaw is being exploited. The same report lists dozens of medium findings on internal systems. The question is which ones break the patch window.
This workflow reads the advisory with a cheap model, then checks your asset inventory and searches for exploit reports at the same time. A router sends exploited, KEV-listed or exposed flaws to a stronger model that writes an emergency change, which waits for approval. Everything else becomes a short ticket for the monthly window.
Free in Sim. No account or API key.
What it costs to run
| Route | Steps that call a model | Per run |
|---|---|---|
| EmergencyEnds at Emergency ticket, after a person approves | Read advisory, Emergency change | $0.007 |
| Patch cycleEnds at Backlog ticket | Read advisory, Patch-cycle ticket | $0.002 |
At 200 scanner findings a day, 95% patch cycle and 5% emergency, that is about $12.05 a month. If every one took the emergency route it would be $44.75.
Estimated before running, from the prompt each step is sent and an assumed reply length, at list prices for each step's model tier. Want the same numbers for your own agent? Paste its code into the cost calculator.
Sample input
CVE-2024-3400: PAN-OS GlobalProtect command injection, CVSS 10.0. Our scanner flags two firewalls. One is internet-facing. Exploited in the wild. Patch now or wait for Saturday's window?
How the workflow runs, step by step
Sample replies show what each step returns for the sample input above. In the editor, Sim shows the same replies for this input without calling a model; Live runs your own models.
1. Start
Advisory in
The advisory or scanner finding starts the run, beginning with the CVE id.
Next: Read advisory
2. Agent
Read advisory
A small model pulls the CVE id, product, CVSS score, exploit status and fix, without guessing versions.
Sample reply
CVE: CVE-2024-3400 PRODUCT: Palo Alto PAN-OS, GlobalProtect (affected versions not given) CVSS: 10.0 EXPLOITED: yes FIX: not stated in the advisory text
Next: Asset inventory, Exploit status
3. Tool
Asset inventory
Searches your asset inventory and patch policy for affected hosts and their exposure. It stands in for your CMDB or scanner export.
Next: Evidence
4. Tool
Exploit status
Searches the web for the CVE id to find public exploit reports.
Next: Evidence
5. Join
Evidence
Waits for the inventory and the search and passes both on.
Next: Priority
6. Router
Priority
Keyword rules send internal, unexploited flaws to the patch cycle. Exploited, KEV-listed or internet-facing flaws go to an emergency change, which is also the default.
Next: Emergency change (emergency), Patch-cycle ticket (patch cycle)
7. Agent
Emergency change
A stronger model writes the emergency change: affected hosts, the fix, a mitigation if the patch must wait, what to hunt for in logs, how to verify and how to roll back.
Sample result
PRIORITY: emergency (fix within 72 hours, so don't wait for Saturday's window) AFFECTED: • fw-edge-01: GlobalProtect gateway enabled, internet-facing, critical. Exposed. • fw-lab-02: GlobalProtect disabled, internal lab only. Lower risk; include it in the same change if the fix applies. DO NOW: Upgrade fw-edge-01 to the vendor's fixed PAN-OS release for CVE-2024-3400. IF IT CANNOT WAIT FOR THE PATCH: Apply the vendor's published mitigation, or restrict GlobalProtect access to known IP ranges until the upgrade is done. HUNT: Review fw-edge-01's GlobalProtect and system logs since the advisory date for unexpected commands, new files or outbound connections, and check the exploit reports from the search for published indicators. VERIFY: Confirm the running PAN-OS version after the change and re-run the scanner against fw-edge-01. ROLLBACK: Back up the config and keep the previous PAN-OS image staged before upgrading. NOTE: the change needs approval; this workflow changes nothing.
Next: Change approve
8. Human approval
Change approve
The run pauses. The change owner approves before anyone patches outside the window.
Next: Emergency ticket
9. Result
Emergency ticket
The approved emergency change.
10. Agent
Patch-cycle ticket
For routine flaws, a cheap model writes a short ticket for the next patch window and when to raise it.
Next: Backlog ticket
11. Result
Backlog ticket
The ticket for the next patch window.
Why build it as a graph
Scanners produce far more findings than any team can patch at once, and most of them can wait. A graph keeps the cheap read and the lookups on every finding, saves the strong model for the few that need an emergency change, and puts change approval in the workflow where it can be seen.
Things to try
- Run the sample in Sim. It takes the emergency path and waits for change approval.
- Try “Medium flaw in our internal wiki, CVSS 5.4. Internal only, no known exploit. Patch now?” It becomes a cheap patch-cycle ticket.
- Switch to Live with your own key so real models read the inventory and the search results. The strong model still only runs on the emergency step.