PHP2Shell: Find, Mitigate, and Patch Now

Qualys Threat Research · 10 min read · original

Executive Summary

PHP2Shell is two critical vulnerabilities (CVE-2026-109618 and CVE-2026-109619, CVSS v4.0 9.2) that can allow unauthenticated remote code execution on PHP installations serving web requests. Researchers have also demonstrated unauthenticated disclosure of PHP worker memory, which can expose passwords, authentication tokens, and API keys. Cloudflare has already reported attack traffic, including attempts to evade its protections. Updating is the only complete fix: prioritize internet-facing deployments, starting with Apache mod_php, and assign an owner and remediation deadline to every system awaiting an update. This blog covers the fixed versions, PHP’s temporary mitigations, and how Qualys helps you discover exposure, mitigate risk before you can patch, and validate remediation.


What’s at Risk

PHP has released security updates for two critical vulnerabilities that can allow unauthenticated remote code execution. Apache mod_php deployments warrant immediate attention: PHP reports a demonstrated exploit that can trigger before application code runs.

The vulnerabilities, CVE-2026-109618 and CVE-2026-109619, each carry a CVSS v4.0 score of 9.2. Cloudflare has already reported attack traffic targeting these vulnerabilities, including attempts to evade its protections.

PHP identifies installations serving web requests as at risk, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, and LiteSpeed. Exploitability varies by configuration and application behavior.


Missed the PHP2Shell Emergency Briefing? Watch the on-demand briefing and demo to see how Qualys customers can quickly mitigate this threat.

Not a Qualys customer? Access Qualys’ free PHP2Shell mitigation service to help protect your environment against this threat.


The Two Vulnerabilities

Both flaws involve PHP’s handling of memory and internal request state.

Affected Deployments

While Apache mod_php is the most urgent priority, it is not the only deployment at risk. PHP-FPM also requires patching. Its startup behavior blocks a specific out-of-memory attack path, but PHP has validated session-lifecycle remote code execution against FPM under suitable application conditions.

Beyond code execution, researchers have also demonstrated unauthenticated disclosure of PHP worker memory. Exposed memory can contain passwords, authentication tokens, and API keys.

For root causes, CVSS vectors, and CWEs, see theTechnical Appendix. Updating is the only complete fix, so the next step is to identify the fixed release for each PHP branch you run.

PHP2Shell by the Numbers: Nearly All PHP Installations Are Exposed

The Qualys Threat Research Unit analyzed anonymized data from more than 10,000 customers to measure exposure to PHP2Shell (CVE-2026-109618 and CVE-2026-109619). The results show how large the problem is.

We found 167 million PHP package installations, of which 156M have a known PHP version and 73% of them are on internet-facing assets. That puts them within reach of remote attackers.

Image 1
Among the 156 million installations with a known PHP version:

The takeaway: Nearly all PHP installations are either vulnerable or running unsupported versions.

Fixed Versions and Upgrade Guidance

The following upstream releases address both vulnerabilities:

PHP branch Fixed version
PHP 8.5 8.5.12
PHP 8.4 8.4.27
PHP 8.3 8.3.36
PHP 8.2 8.2.35

For distribution-managed installations, use your vendor’s advisory to identify the fixed package. Backported fixes may retain an older upstream version number.

PHP 8.1 and earlier remain outside regular upstream support. PHP has provided limited source backports for7.4, 8.0, and 8.1. Organizations running those branches should obtain a fixed build from their distribution or support vendor, apply the appropriate source backport, or upgrade to a supported release.

When a fixed release cannot be deployed immediately, PHP recommends temporary measures to reduce exposure(see Temporary Mitigations Recommended by PHP in the Technical Appendix), and Qualys mitigation described below can also help. If a patched build cannot be deployed promptly, consider restricting public access or temporarily isolating the affected service while remediation is arranged. Patching, mitigating, and verifying all start with knowing where PHP runs in your environment.

How Qualys Can Help

Qualys helps you respond to PHP2Shell in three stages: discover and assess exposure, mitigate before you can patch, and remediate and validate.

Image 2: PHP2Shell: Detection to Hyper-prioritization

1. Discover and Assess Exposure

The first step is knowing where PHP runs and which installations are vulnerable.

Inventory PHP Installations

Qualys customers can begin discovery withQID 45110–PHP Server Detected, an Information Gathered (IG) check.

QID 45110 identifies PHP installations; it does not confirm vulnerability to either CVE.Use its results to identify systems for review, then validate each installation against the applicable PHP or vendor advisory.

Qualys CyberSecurity Asset Management (CSAM) can help teams inventory PHP installations, identify end-of-life software, and prioritize internet-facing assets for remediation. It shows every asset where PHP is installed, so teams can scope PHP2Shell remediation in minutes.

Run the following queries in CSAM > Inventory > Assets.

All assets with PHP installed

(software: ((name: "php")))
Assets running end-of-life PHP (8.1 and earlier)

((software: (((name: "PHP") AND (version: (*..8.1))))))
PHP on your most critical assets

((asset.criticalityScore: [4..*)) AND (software: (((name: "PHP") AND (version: (*..8.1))))))
Use QID 45110 to establish your PHP discovery baseline, keep software inventory current, and configureInstaScanto cover the relevant assets. With the baseline in place, use the vulnerability detection QIDs below to assess PHP2Shell exposure and verify remediation.

Detection QIDs

Qualys released the following detection QIDs, which are now available. We will add distribution-specific detection QIDs to this blog as they are released.

QID Detection Title VulnSigs Released Version
389120 F5 BIG-IP Hypertext Preprocessor (PHP) Vulnerabilities (K000163821) VULNSIGS -2_6_728-3
6056531 Red Hat Update for Hypertext Preprocessor (PHP):8.2 (RHSA-2026:87073) VULNSIGS -2_6_728-2
364187 Amazon Linux Security Advisory for php8.5 : ALAS2023-2026-3304 VULNSIGS -2_6_728-3
364186 Amazon Linux Security Advisory for php8.2 : ALAS2023-2026-3301 VULNSIGS -2_6_728-3
364182 Amazon Linux Security Advisory for php8.4 : ALAS2023-2026-3303 VULNSIGS -2_6_728-3
364181 Amazon Linux Security Advisory for php8.3 : ALAS2023-2026-3302 VULNSIGS -2_6_728-3
364180 Amazon Linux Security Advisory for Hypertext Preprocessor (PHP) : ALAS2PHP8.2-2026-015 VULNSIGS -2_6_728-2
6056527 Red Hat Security Advisory for CVE-2026-109618 (Unfixed Vulnerability) VULNSIGS-2.6.728-2
964549 Rocky Linux Security Update for php8.4 (RLSA-2026:87071) VULNSIGS -2_6_728-2
964548 Rocky Linux Security Update for Hypertext Preprocessor (PHP):8.2 (RLSA-2026:87072) VULNSIGS-2.6.728-2
964543 Rocky Linux Security Update for Hypertext Preprocessor (PHP):8.3 (RLSA-2026:87079) VULNSIGS -2_6_728-2
964542 Rocky Linux Security Update for Hypertext Preprocessor (PHP):7.4 (RLSA-2026:87080) VULNSIGS-2.6.728-2
964520 Rocky Linux Security Update for Hypertext Preprocessor (PHP) (RLSA-2026:87070) VULNSIGS -2_6_728-2
964518 Rocky Linux Security Update for Hypertext Preprocessor (PHP) (RLSA-2026:87151) VULNSIGS-2.6.728-2
6056525 Red Hat Update for Hypertext Preprocessor (PHP):8.3 (RHSA-2026:87079) VULNSIGS -2_6_728-2
6056524 Red Hat Update for Hypertext Preprocessor (PHP) (RHSA-2026:87151) VULNSIGS-2.6.728-2
6056523 Red Hat Update for Hypertext Preprocessor (PHP) (RHSA-2026:87070) VULNSIGS -2_6_728-2
6056522 Red Hat Update for Hypertext Preprocessor (PHP):8.2 (RHSA-2026:87072) VULNSIGS-2.6.728-2
6056518 Red Hat Update for php8.4 (RHSA-2026:87071) VULNSIGS -2_6_728-2
765979 SUSE Enterprise Linux Security Update for php8 (SUSE-SU-2026:4844-1) VULNSIGS-2.6.728-2
765976 SUSE Enterprise Linux Security Update for php8 (SUSE-SU-2026:4843-1) VULNSIGS -2_6_728-2
6297246 Debian Security Update for php8.2,php8.4 (CVE-2026-109618) VULNSIGS-2.6.728-2
520310 PHP Remote Code Execution (RCE) Vulnerabilities (PHP2Shell) (CVE-2026-109618,CVE-2026-109619) VULNSIGS -2_6_728-2
6101336 Arch Linux Security Update for php (ASA-202610-1) VULNSIGS-2.6.726-3
6101335 Arch Linux Security Update for php-legacy (ASA-202610-2) VULNSIGS-2.6.726-3
6567434 Alpine Linux 3.24 Security Update for php85 VULNSIGS-2.6.726-3
6567433 Alpine Linux 3.24 Security Update for php84 VULNSIGS-2.6.726-3
6567432 Alpine Linux 3.24 Security Update for php83 VULNSIGS-2.6.726-3
6056502 Red Hat Update for Hypertext Preprocessor (PHP):7.4 (RHSA-2026:87080) VULNSIGS-2.6.726-3
711202 Gentoo Linux Hypertext Preprocessor (PHP) Multiple Vulnerabilities (GLSA 202610-02) VULNSIGS-2.6.726-3
290606 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2026-a9eba4bbc3) VULNSIGS-2.6.726-3
6877311 Ubuntu Security Notification for Hypertext Preprocessor (PHP) Vulnerabilities (USN-8948-2) VULNSIGS-2.6.726-3
6877310 Ubuntu Security Notification for Hypertext Preprocessor (PHP) Vulnerabilities (USN-8948-1) VULNSIGS-2.6.726-3
5019896 PHP (Composer) Security Update for php-src (GHSA-w8hw-w9fx-j79w) VULNSIGS-2.6.727-2
389102 Hypertext Preprocessor (PHP) Multiple Security Vulnerabilities (PHP2Shell) VULNSIGS-2.6.727-2
39033 Hypertext Preprocessor (PHP) Multiple Security Vulnerabilities (PHP2Shell) (Unauthenticated) VULNSIGS-2.6.727-2
39036 Hypertext Preprocessor (PHP) Session Upload Progress Remote Code Execution Vulnerability (CVE-2026-115560) (Unauthenticated) To be released soon
389141 Hypertext Preprocessor (PHP) Session Upload Progress Remote Code Execution Vulnerability (CVE-2026-115560) To be released soon

As distributions publish their own advisories, InstaScan helps you act on them without waiting for the next scheduled scan.

Detect Exposure the Moment Distributions Release Their Patches

With Qualys InstaScan, powered by Agent Insta, new vendor advisories become actionable exposure findings using the software inventory your environment already reports. InstaScan continuously matches advisory intelligence against that inventory, surfacing findings for assets in scope, typically within minutes of advisory processing, without requiring a new scan. Your team can begin investigating and prioritizing remediation while the next scheduled scan is still hours away.

Image 3: Agent Insta: Scanless Detection, AI-speed Exposure Monitoring
For PHP2Shell, this brings faster visibility as distribution-specific advisories become available. Supported advisory sources include Red Hat, Ubuntu, Debian, and Oracle Linux, helping teams respond across mixed Linux environments.

Image 4: ETM - InstaScan- Total Vulnerabilities Findings
Package-level findings are only part of the picture, because PHP copies can also live outside standard locations.

Image 5: CVE-2026-109618 and CVE-2026-109619 Detection in 10 minutes

How to Safely Validate the PHP2Shell Exploit Path on Internet-Facing Assets

Version matching identifies PHP hosts running unfixed releases, but not which are exploitable right now. Security teams need to know where the entry point is actually open. Qualys Enterprise TruRisk Management (ETM) uses TruConfirm to safely validate exploitability on live production assets without disruption.

How it works:

  1. Verify the target. Confirm the server runs PHP before proceeding.
  2. Send a benign probe. A carefully crafted upload request mimics the attacker’s initial move without creating files, executing code, or applying memory pressure.
  3. Confirm exposure. PHP startup warnings indicate the php2shell entry point is reachable and the recommended mitigation, session.upload_progress.enabled=0, is absent.

Confirmed exposures receive an amplified TruRisk score and move up the remediation queue with supporting evidence. ETM combines exploit validation with version-based detection to show both whether the entry point is exposed and whether the PHP build is patched.

Lastly, remediate and verify. Upgrade PHP and restart all workers, or disable session upload progress if unused. Revalidate to confirm the entry point is no longer reachable and provide evidence for auditors. Safely validate the PHP2Shell exploit path across your internet-facing assets with TruConfirm in ETM today.

Image 6
In a real customer environment, 1,539 assets were running PHP, but only 25 were confirmed to be exploitable. This highlights the power of TruConfirm, the AI-driven exploit validation in Qualys ETM. Instead of providing your team with a lengthy list of 1,539 assets to investigate, TruConfirm safely identifies which ones attackers can actually reach and exploit, all while operating on live production assets without creating files, executing code, or disrupting operations. By combining this validation with threat intelligence and asset context, TruConfirm helps your team move from detection to hyper-prioritization, so they can focus on the less than 2% of assets that matter most, backed by solid evidence for every decision.

Image 7: PHP2Shell Detection to Prioritization to Hyper-Prioritization

A Caution Before You Test: Public PoCs Are Demonstrations, Not Validation Tools

Since disclosure, PHP2Shell proof-of-concept scripts have spread quickly on GitHub. They are useful for understanding the research. However, they are not a safe way to check whether a production server is exposed, and running one against an internet-facing asset can cause exactly the kind of disruption you are trying to prevent. A PoC run against a live target typically does four things:

PoCs have a place. Clone the asset into an isolated lab, snapshot it, and run them there. On production, validate without walking the vulnerable path at all. That is what the approach above is built for: TruConfirm confirms the entry point is reachable and that the recommended mitigation is absent, without creating files, executing code, or applying memory pressure. Keep in mind that to a WAF or SIEM, PoC traffic looks like an attack, and against systems you do not own it will be treated as one.

Find Vulnerable PHP Installations Beyond Standard Locations with Qualys Deep Scan

Customers can useQID 389102to assess PHP2Shell exposure. To broaden visibility into PHP installations outside standard locations, customers can also performQualys Deep Scan.

Deep Scan identifies vulnerable PHP binaries in custom application folders, secondary drives, and other configured directories. Findings appear in VMDR with thefull binary path, installed version, and recommended fixed version, giving security and IT teams the details needed to locate and remediate overlooked installations.

This additional visibility matters when multiple PHP copies exist for the same asset: updating the primary installation can leave other copies vulnerable. Customers can tailor inspection through directory inclusion and exclusion rules, scan schedules, and resource controls. Deep Scan is included with VMDR and is available on Windows assets running Cloud Agent 6.2 or later.

Identify Vulnerable PHP Across Cloud Images, Containers, and Serverless Workloads

PHP vulnerabilities can extend beyond traditional servers into cloud-native environments, including Amazon Machine Images (AMIs), container images, Kubernetes workloads, and serverless functions.

With QualysTotalCloudandContainer Security, organizations can identify vulnerable PHP components across AMIs, container registries, build artifacts, and deployed workloads. Qualys correlates container images with running containers, serverless and Kubernetes workloads, helping teams identify which vulnerable images are actively deployed in production rather than simply stored in a registry.

Go beyond package presence with Runtime Vulnerability Reachability. Using its eBPF-based Container Runtime Sensor, Qualys identifies vulnerable software packages observed in use within running containers and correlates this runtime evidence with vulnerability findings. Combined with internet exposure and workload context, this helps security teams prioritize PHP vulnerabilities affecting actively running applications.

This enables organizations to trace affected workloads back to their container images, update vulnerable dependencies, rebuild images, and redeploy patched workloads.

Image 8

Assess Exposure Across Web Applications and APIs

PHP vulnerabilities can also affect the web applications and APIs that rely on vulnerable PHP runtimes, making it important to understand which applications are publicly accessible and where potential attack paths exist.

With QualysTotalAppSec, organizations can discover and assess web applications and APIs across on-premises, cloud, and containerized environments. Dynamic Application Security Testing (DAST) helps identify application vulnerabilities and exposed endpoints, while API discovery and security testing extend visibility into APIs that may otherwise be overlooked.

Image 9
With exposure identified across servers, cloud workloads, and applications, the next priority is reducing risk on assets that cannot be patched immediately.

Customers can use the following QID to identify web applications and APIs exposed to PHP2Shell:

QID Detection Title VulnSigs Released Version
520310 PHP Remote Code Execution (RCE) Vulnerability (PHP2Shell) (CVE-2026-109618, CVE-2026-109619) VULNSIGS-2.6.728-2

Fight Back Against PHP2Shell with Qualys

Our new PHP2Shell “Fightback” dashboard gives you one place to find every PHP instance in your environment, see which ones are actually at risk, and decide what to fix first.

Know Your Full PHP Footprint

See Where the Real RiskIs

Prioritize and Act Fast

As new CVEs and patches roll out for each PHP version, we’ll keep tuning and updating the dashboard.

Image 10


Download the PHP2Shell Fightback Dashboard today.


2. Mitigate Before You Can Patch

Qualys Mitigation available for CVE-2026-109618 and CVE-2026-109619

This mitigation follows PHP’s mitigation guidance, with additional insights from the Qualys Threat Research Unit (TRU).

This mitigation disables the PHP session upload-progress feature across every web-facing PHP runtime on the host and hardens the related session-handling configuration. This removes the vulnerable code path from execution without changing the application itself.

It is a configuration-level change applied to each affected PHP interpreter, and the PHP service must be restarted for it to take effect. The mitigation restarts the service automatically; if the logs show a restart is still required, you can restart the PHP service manually. After the restart, the effective configuration is verified to confirm the setting is active and not overridden elsewhere.

This is an interim risk-reduction measure that eliminates the flaw’s reachability.

Mitigation Details via Qualys Dashboards

Qualys mitigations have been available for more than 12 hours. Customers with vulnerable detections can see the following mitigation options on their dashboards.

Image 11
Select the “Mitigate Now” option on this familiar screen.

Image 12
Mitigation reduces risk in the interim, but updating remains the only complete fix. The final step is confirming that every fix has taken effect.

Mitigate PHP Servers Without an Agent

PHP2Shell hits hardest where you have the least reach. Of the 167M PHP installations Qualys found, 156M had a known PHP version, of which 73% are internet-facing and 110M (71%) run end-of-life or end-of-support branches outside upstream support. Many internet-facing PHP servers sit on appliances, DMZ servers, legacy hosts, and systems owned by other teams. These are often the hardest systems to reach, and many can’t run a Cloud Agent.

A network scan can show that these systems are exposed, but mitigating them has usually meant someone logging in and changing configurations by hand, one server at a time. With unauthenticated remote code execution on the table, that pace leaves your perimeter open.

Image 13
Video 3

The mitigation script for CVE-2026-109618 and CVE-2026-109619 is now available in through the Custom Assessment and Remediation (CAR) library in TruRisk Eliminate, and you can run it directly on scanner-based hosts. The same platform that finds the exposure can now mitigate it, without deploying an agent first.

Patch With Confidence

PHP has released upstream fixes, but many vendor and distribution patches are still rolling out. Until a patch is available for your environment, mitigations remain the priority.

Where vendor patches are available, you can deploy them within TruRisk Eliminate. Right now, that includes Ubuntu’s PHP security updates.

For the Ubuntu patch:

3. Remediate and Verify

After remediation, rerun the applicable checks and verify that both the installed packages and running PHP instances include the fixes.

By combining web application and API security findings with PHP vulnerability detections from VMDR and TotalCloud, security teams can better prioritize remediation of internet-facing applications backed by vulnerable PHP installations. After patching the underlying PHP runtime, teams should rescan affected assets and applications to validate remediation.

For a step-by-step verification checklist, see Confirm That Remediation Is Complete in the Technical Appendix.


New to Qualys and want to find out your exposure to PHP2Shell?


Technical Appendix for Security Teams

Current Vulnerability Information for Both CVEs

CVE-2026-109618CVE-2026-109619
AdvisoryGHSA-w8hw-w9fx-j79wGHSA-6wmf-4rv5-p3rp
TitleRCE via OOM corruption RCE via stale global state
Root causeOOM bailout leaves request data partially initialized; shutdown treats it as valid Request-owned global state survives after its memory is freed; a later request on the same worker reads it
PrimitiveUse of uninitialized / invalid memory during request shutdown Heap use-after-free, memory disclosure
Requests neededOne per attempt (mod_php); more workers and traffic raise the attempts needed Two, on the same worker
Demonstrated RCEmod_php, default limits, prefork MPM mod_php (8.5 fatal backtrace path); session upload progress path on mod_php, and on PHP-FPM with a suitable application operation
CVSS v4.09.2 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N 9.2 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CWEs (both CVEs):CWE-416 Use After Free; CWE-755 Improper Handling of Exceptional Conditions; CWE-824 Access of Uninitialized Pointer; CWE-1325 Improperly Controlled Sequential Memory Allocation; CWE-1419 Incorrect Initialization of Resource.

Based on the PHP-assigned CVSS scores, exploitation requires no privileges or user interaction and results in a full impact. However, both Attack Complexity (AC:H) and Attack Requirements (AT:P) are set because exploitation depends on the allocator layout, build, and worker scheduling.

Temporary Mitigations Recommended by PHP

Updating is the only complete fix.The following measures, drawn from PHP’s release announcement and detailed security advisories, reduce exposure to specific attack paths. They do not make an unpatched installation safe.

Technical Details

If you cannot update today, PHP recommends a few configuration changes that help reduce the risk to affected assets. The table below explains the reason behind each change.

VulnerabilitySetting (php.ini form)Attack Surface Reduction
CVE-2026-109618 memory_limit = -1 The attacker-controllable memory-limit failure
post_max_size = 8M(no uploads) or 32M(uploads);upload_max_filesize below it Smaller body budget for out of memory conditions
Lower max_input_nesting_level(default 64) and max_file_uploads; front-end limits on decoded size, field count, multipart parts, headers per part, total header count; block multipart where unused The documented multipart out of memory triggers
Per-worker cgroup memory limit Availability boundary
CVE-2026-109619 session.upload_progress.enabled = Off Confirmed session paths
fatal_error_backtraces = Off(PHP 8.5)Confirmed mod_php backtrace path
Remove invalid or deprecated INI settings applied per request (Apache php_value,.htaccess,PHP_VALUE passed by a front end)Pre-inititialization diagnostic consumer removal
pm.max_requests = 1(FPM pool directive, not php.ini)State carry-over between requests

The guidance below expands on each of these settings by CVE.

CVE-2026-109618: Out-of-Memory Corruption

Note: Settingmemory_limit=-1removes PHP’s per-request memory cap and increases the risk of resource exhaustion. Treat it as a temporary measure and account for available resources and worker-level limits.

CVE-2026-109619: Stale Global State

If a patched build cannot be deployed promptly, consider restricting public access or temporarily isolating the affected service while remediation is arranged. Assign an owner and a remediation deadline to each system awaiting an update.

Confirm That Remediation Is Complete

Installing a package is one step. Verify that each application is actually using the patched runtime.

  1. Find every PHP installation.Include parallel PHP branches, containers, hosting-panel packages, and PHP bundled with appliances or other software. The version returned byphp -vmay belong to a different installation from the one serving web requests.
  2. Update the correct package, binary, or image.For distribution packages, check the complete package version against the vendor’s advisory. For container deployments, obtain a patched image or rebuild your application image with patched dependencies.
  3. Restart or replace affected workers.Restart the relevant services or redeploy containers, then confirm that the running application uses the updated runtime. Check for workers that remain on the previous build.
  4. Review emergency configuration changes.After verifying the patched runtime, restore an appropriate finitememory_limitand review temporary upload restrictions and worker-recycling settings. Test application behavior under memory pressure: the patched runtime can terminate a worker immediately at its hard memory threshold, bypassing normal shutdown handlers.

Connect Your AI Assistant to Qualys in Three Steps

You can now bring Qualys data into your AI workflows with qualys-cli-mcp, a Model Context Protocol (MCP) server for the Qualys Cloud Platform. Claude, Cursor, VS Code, and other MCP-capable assistants can use it to query your Qualys environment in plain language. For example, you can ask “Can you check in Qualys if I’m vulnerable to CVE-2026-109618 or CVE-2026-109619″ without writing API calls or switching consoles.

Image 14

Step Action
Install (requires Python 3.11 or later) pip install qualys-cli-mcp
Configure your credentials qualys-cli configure It asks for your Qualys username and password, automatically detects your platform, and securely stores the credentials in your OS keyring. Your credentials never go into the AI client’s config file.
Connect your AI client For Claude Desktop, add this to claude_desktop_config.json (VS Code and Cursor use the same entry): {“mcpServers”: {“qualys”: { “command”: “qualys-cli-mcp” }}}

That’s it. Your assistant can now work across Qualys.

Reference

PHP Security Team –Upcoming Critical PHP Security Release