CVE-2026-82530: IP2Location Country Blocker < 2.45.0 Access Control Bypass via X-Real-IP Header

Published Sep 9, 2026
·
Updated

IP2Location Country Blocker plugin for WordPress before 2.45.0 contains an access control bypass vulnerability that allows unauthenticated remote attackers to circumvent IP-based restrictions by forging the X-Real-IP HTTP header. Attackers can set the X-Real-IP header to an allowlisted IP address to bypass page, link, or site-wide access restrictions and access otherwise-blocked resources.

Affected Software

1 affected component
WordPress plugin/IP2Location Country Blocker<2.45.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WordPress IP2Location Country Blocker to a version that resolves this vulnerability.

    Fixed in 2.45.0
  2. Compensating control

    Temporarily block or strip the X-Real-IP HTTP header at the reverse proxy/WAF (or otherwise ensure it cannot be set by external clients) to prevent bypass of IP-based access restrictions.

Event History

Sep 9, 2026
CVE Published
via MITRE·02:10 PM
Data Sourced
via MITRE·02:10 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this bypass?

WordPress sites using IP2Location Country Blocker versions before 2.45.0 are affected when they rely on the plugin's IP-based page, link, or site-wide access restrictions.

2

What does an attacker need to exploit the issue?

An attacker does not need authentication or user interaction. They need to send a remote HTTP request with an X-Real-IP header forged to an IP address that is allowlisted by the target's restrictions.

3

What can an attacker access after a successful bypass?

The attacker can access resources that would otherwise be blocked by the plugin's IP-based controls, including restricted pages, links, or site-wide content.

4

How can I determine whether my site is affected?

Check whether IP2Location Country Blocker is installed and whether its version is earlier than 2.45.0. Sites using the plugin to enforce IP-based restrictions should also assess whether requests with a forged X-Real-IP value can reach restricted resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203