Improper AuthenticationWeakness · CWE-287

CVE-2026-2991

HIGH · 7.3 CVSS v3.1 Published 2026-03-18
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
82/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The KiviCare – Clinic & Patient Management System (EHR) plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 4.1.2. This is due to the `patientSocialLogin()` function not verifying the social provider access token before authenticating a user. This makes it possible for unauthenticated attackers to log in as any patient registered on the system by providing only their email address and an arbitrary value for the access token, bypassing all credential verification. The attacker gains access to sensitive medical records, appointments, prescriptions, and billing information (PII/PHI breach). Additionally, authentication cookies are set before the role check, meaning the auth cookies for non-patient users (including administrators) are also set in the HTTP response headers, even though a 403 response is returned.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The KiviCare WordPress plugin fails to validate social provider access tokens in the patientSocialLogin() function, allowing unauthenticated attackers to authenticate as any registered patient using only their email address and a fabricated token. Additionally, authentication cookies are set in HTTP headers before role validation, exposing session tokens for administrators and other users even when access is denied.

MitigationUpgrade to version 4.1.3 or later which implements proper access token verification and repositions role validation before cookie generation. Consider resetting passwords for all patient accounts as a precaution.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify KiviCare plugin installation and version
    In WordPress admin, go to Plugins > Installed Plugins and find 'KiviCare' in the list. Note the version number displayed. Alternatively, check the plugin main file header via file system at wp-content/plugins/kivicare-server/ and read the Version field.
    Affected if The installed version is lower than 4.1.3 (e.g., 4.1.2, 4.1.1, 4.0.0, etc.) or if no version is displayed (indicating an older unversioned release).
  2. Verify if social login feature is enabled
    In WordPress admin, navigate to KiviCare settings. Look for 'Social Login', 'Patient Social Login', or 'OAuth Login' configuration options. Check whether any social provider (Google, Facebook, etc.) is configured and the feature is toggled on.
    Affected if Social login for patients is enabled and configured with one or more providers.
  3. Inspect patientSocialLogin function exposure
    Access your site via a web proxy or curl to test if the endpoint responds. Try sending a POST request to the patientSocialLogin function endpoint (typically /wp-json/kivicare/v1/patient-social-login or similar). Check if the endpoint accepts requests without authentication.
    Affected if The endpoint responds and accepts unauthenticated POST requests with an email and token parameter.
  4. Review authentication logs for suspicious patient logins
    Check WordPress debug logs, server access logs, or KiviCare activity logs for entries containing 'patientSocialLogin' or 'social_login' with patient role accounts. Look for multiple login attempts with different email addresses in short succession.
    Affected if Log entries show unauthenticated or failed attempts to use patientSocialLogin, or successful logins where the token validation would have been bypassed.
  5. Audit authentication cookie behavior
    Use browser developer tools or a proxy to capture HTTP response headers when attempting a social login with an invalid/fabricated token. Check if Set-Cookie headers are present in the response even when login fails or when the account role is not patient.
    Affected if Authentication cookies appear in response headers before role validation completes, even for failed or unauthorized login attempts.

You are affected if KiviCare version is below 4.1.3 AND the patient social login feature is enabled, exposing the token validation bypass and premature cookie setting described in this CVE.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to version 4.1.3 or later which implements proper access token verification and repositions role validation before cookie generation. Consider resetting passwords for all patient accounts as a precaution.

Recommended fix High confidence

Version 4.1.3 or later

  1. 1. Navigate to the WordPress admin dashboard
  2. 2. Go to Plugins > Installed Plugins
  3. 3. Locate KiviCare – Clinic & Patient Management System (EHR)
  4. 4. Check if the current version is 4.1.2 or earlier
  5. 5. If vulnerable, click 'Update Now' to install the latest version (4.1.3 or later)
  6. 6. Alternatively, download the updated plugin from the WordPress plugin repository and upload via Plugins > Add New > Upload Plugin

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA4.0 h
22.0 hours of engineering $3,860
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-2991 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-2991 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data