Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How do you patch or mitigate CVE-2022-24112 (Apache…
Threats, Abuse & Incident Response

How do you patch or mitigate CVE-2022-24112 (Apache APISIX Authentication Bypass)?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 19, 2026 Domain: Threats, Abuse & Incident Response

CISA's required action for CVE-2022-24112 is to apply updates per vendor instructions. In practice, find every instance of Apache APISIX in your estate, apply the vendor security update or documented mitigation, and if no fix can be applied, remove internet exposure or take the product out of service. After patching, review logs for signs of earlier exploitation, because attackers used this flaw in the wild.

What this CVE means operationally

apache apisix authentication bypass issues are handled like any actively exploited perimeter or gateway flaw: confirm where the product is deployed, determine whether the vulnerable path is exposed, and treat vendor guidance as the source of truth for the fix. If patching is not immediately possible, reduce exposure first, then plan removal or service isolation if you cannot get to a safe state quickly.

Because the flaw was used in the wild, the operational question is not just whether the update exists, but whether any APISIX instance could have been reached before you remediated it. That makes inventory, exposure review, and post-fix verification part of the same response, not separate tasks.

For a practical response path, start with an inventory of all APISIX instances, their internet-facing paths, and any upstream integrations that depend on them. Then apply the vendor security update or documented mitigation, and verify that the bypass condition is no longer reachable in the deployed configuration.

How to mitigate when patching is delayed

If you cannot patch immediately, the safest interim step is to remove public exposure or take the affected service out of production use until it can be updated. For gateway and API control-plane products, “temporary exception” often means creating a lower-risk access path, not leaving the original exposure in place.

That mitigation only works if the product is actually removed from the attack path. A firewall rule or allowlist is useful only when it closes the reachable surface that the bypass depends on, and when you can confirm that no alternate route still reaches the vulnerable component. Use the vendor advisory for exact mitigation details rather than improvising configuration changes.

After mitigation, re-check dependent services for breakage, because API gateways often sit on critical request paths. The goal is to reduce exposure without creating an availability issue that leads teams to roll back the protection before the real fix lands.

Document the exception window, the compensating control, and the date by which the vulnerable instance must be either patched or decommissioned. A mitigation that is not time-bound tends to become a permanent bypass of the remediation process itself.

How to confirm compromise and close the loop

Because exploitation happened in the wild, review authentication and access logs around the exposure window, especially unusual admin actions, configuration changes, and unexpected requests to APISIX endpoints. Look for signs that the bypass was used to obtain access that should not have been possible through normal authentication.

Where APISIX protects downstream services, also inspect logs on those services for suspicious traffic that lines up with the gateway exposure. If the gateway was the trust boundary, compromise may show up one layer deeper than the product itself.

Preserve logs before rotating systems or rebuilding infrastructure, since post-incident review often depends on data that disappears during cleanup. If evidence suggests access beyond the gateway may have been obtained, expand the review to adjacent accounts, tokens, and service credentials that were reachable through that path.

Risk and Threat Considerations

An authentication bypass at an edge gateway is high impact because it can collapse a trust boundary that multiple applications rely on. If attackers can reach the gateway anonymously or with insufficient checks, they may inherit access to internal APIs, management functions, or downstream services that were never meant to be directly exposed.

Failure mechanism: The vulnerable component accepts requests without enforcing the intended authentication decision, so controls that depend on the gateway can be skipped entirely. That can turn a single internet-facing weakness into broad unauthorized access across the services behind it.

Impact: Expect potential unauthorized access, abuse of internal APIs, configuration tampering, and follow-on compromise of dependent services. In practice, the blast radius is often larger than the gateway itself because the product is sitting in front of multiple applications or identity-bearing integrations.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0ID.AM-01 — Inventory of AssetsAsset inventory is needed to find every APISIX instance to patch or isolate.
PR.PS-06 — Least FunctionalityRemoving internet exposure or taking the service out of use is a least-functionality mitigation.
DE.CM-01 — Networks and services are monitored to detect potential cybersecurity eventsPost-fix log review depends on monitoring gateway activity for exploitation signs.
Recommendation — Inventory all APISIX deployments and their exposure paths before remediation. Reduce exposed functionality or take the vulnerable gateway out of service until fixed. Review logs and monitoring data for evidence of earlier exploitation.
NIST SP 800-53 Rev 5SI-2 — Flaw RemediationThe core action is to apply vendor updates or documented mitigations for the flaw.
AU-6 — Audit Record Review, Analysis, and ReportingLog review after remediation is required to find evidence of abuse during exposure.
Recommendation — Apply the vendor update or approved mitigation and verify the bypass is closed. Analyze gateway and downstream logs for signs of prior exploitation.

Practitioner Guidance

What to verify: Confirm whether any APISIX deployment is internet reachable, whether the vendor mitigation was applied exactly as documented, and whether the exposed instance could have been accessed before remediation. If you cannot answer all three quickly, treat the environment as still at risk.

Decision rule: If patching is available, patch first and verify; if patching is delayed, remove exposure or retire the instance rather than accepting open internet risk. Do not keep an unpatched gateway online because downstream applications depend on it.

What practitioners underestimate: The post-fix work is not finished when the update installs. You still need log review, exposure validation, and a check for any credentials, sessions, or internal access paths that could have been used after the bypass.

Practitioner takeaway: Treat this as a trust-boundary incident, not just a version update, because the real question is whether the bypass ever gave an attacker a route into systems behind APISIX.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org