By NHI Mgmt Group Editorial TeamDomain: Breaches & IncidentsSource: CYCOGNITOPublished July 8, 2026

TL;DR: CVE-2026-40138 and CVE-2026-40139 are pre-authentication flaws in BeyondTrust Remote Support and Privileged Remote Access that can let attackers bypass login controls on exposed appliances, according to CYCOGNITO. The risk is not just patching speed but the governance gap around internet-facing remote access, privileged entry points, and third-party-managed instances.


At a glance

What this is: Two critical pre-authentication vulnerabilities in BeyondTrust Remote Support and Privileged Remote Access can let attackers bypass login controls on exposed appliances.

Why it matters: They matter because remote-access portals often sit on the trusted path into internal systems, so a login bypass can become privileged entry into core environments and third-party support channels.

By the numbers:

👉 Read CYCOGNITO's analysis of CVE-2026-40138 and CVE-2026-40139 in BeyondTrust RS and PRA


Context

CVE-2026-40138 and CVE-2026-40139 sit in the authentication path of remote-access appliances, which makes them more than ordinary software bugs. When a login interface can be bypassed before authentication, the issue becomes one of access control failure on a system designed to grant privileged entry into internal environments.

That matters because BeyondTrust Remote Support and Privileged Remote Access are often exposed to the internet for vendors, contractors, and distributed IT teams. In identity terms, these appliances sit close to privileged access management, where a single weak authentication path can undermine the trust boundary around elevated remote sessions. The exposure pattern described here is common wherever remote support is outsourced or shared across business units.


Key questions

Q: What fails when a remote-access appliance allows pre-authentication login bypasses?

A: The failure is at the trust boundary. If an attacker can bypass authentication on a remote-access appliance, they may reach privileged functions without proving identity, which defeats the purpose of the control. In practice, that can turn a support portal into an entry point for elevated access, internal system reach, and downstream compromise.

Q: Why do internet-facing support portals increase privileged access risk?

A: They concentrate remote entry into a single externally reachable control point, often with administrative or third-party access attached. That makes the portal a high-value identity gateway. If authentication fails there, the attacker does not need to hunt through every internal system first, because the access path is already centralised.

Q: How do security teams know whether a vulnerable remote-access instance is actually exposed?

A: They need both version data and configuration data. A patched version may still be misread if the affected authentication settings are enabled in a reachable deployment, so teams should inventory the instance, confirm the active authentication mode, and validate whether the login interface is internet-facing.

Q: Who is accountable when an exposed access appliance is exploited?

A: Accountability usually spans infrastructure operations, security operations, and the identity team when the appliance brokers authentication or access policy. The organisation needs a clear owner for exposure monitoring, emergency isolation, patch timing, and post-incident verification. Access infrastructure cannot sit in an ownership gap if it forms part of the trust boundary.


Technical breakdown

Why pre-authentication bypasses are so dangerous in remote-access appliances

Pre-authentication vulnerabilities are exploitable before a user proves identity, so they attack the trust boundary itself rather than a single account. In this case, improper validation and processing of authentication data can let a network-positioned attacker reach functions reserved for authenticated users. When the target is a remote-support portal, the result is not just access to a web app, but a path toward privileged administrative activity and session abuse.

Practical implication: Treat internet-facing login paths as high-risk controls and verify whether access restrictions, segmentation, and emergency patching are in place.

How configuration-dependent authentication flaws change exposure

These flaws are not universally exploitable across every installation, because the vulnerable behavior depends on specific authentication settings being enabled. That makes exposure management a configuration problem as much as a vulnerability problem. Security teams need to know which authentication mode each appliance uses, because a patch status check alone may not reveal whether an instance is actually reachable through the affected code path.

Practical implication: Map appliance configuration to exposure before assuming an instance is safe, and do not rely on version alone as the full risk indicator.

Why remote support portals are high-value identity targets

Remote support and privileged remote access tools concentrate operational trust. They are designed to grant outsiders or semi-outsiders controlled entry into internal systems, often with elevated permissions, which means the login interface becomes a privileged identity gateway. If that gateway is bypassed, the attacker does not need to steal a separate user session first; they may be able to enter through the control plane that was meant to restrict them.

Practical implication: Prioritise these appliances in PAM and external attack surface reviews because their authentication plane directly governs privileged reach into production systems.


Threat narrative

Attacker objective: The attacker wants unauthorized privileged access into systems reachable through the remote-support appliance, including access paths that can support broader internal compromise.

  1. Entry occurs when a network-positioned attacker targets the exposed login interface of a BeyondTrust RS or PRA appliance.
  2. Escalation follows if improper authentication processing lets the attacker bypass access controls and reach privileged functions without valid credentials.
  3. Impact is unauthorized access to a remote-support control plane that can expose elevated accounts and downstream internal systems.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Standing trust in remote-access gateways is the real failure mode: these appliances are often treated as controlled entry points, but a pre-authentication bypass turns that assumption into an access-control collapse. The problem is not simply that a patch is missing, but that the trust boundary around privileged remote support was broken before identity was established. Practitioners should treat the login gateway itself as a governance object, not just a service endpoint.

Configuration-dependent exposure creates an inventory problem, not only a vulnerability problem: if only certain authentication settings are affected, then asset versioning alone will miss part of the risk picture. This is where PAM, external attack surface management, and configuration baselines need to converge. The control gap is visibility into which appliances actually expose the vulnerable path, so teams should inventory settings as aggressively as they inventory versions.

Remote-access portals now function as de facto privileged identity brokers: they mediate third-party support, internal admin access, and emergency operations in one place. That makes them a governance crossroads for IAM and PAM, especially when vendors, contractors, or managed service providers operate the instance. Practitioners should classify these gateways as privileged access infrastructure and hold them to the same lifecycle discipline as high-value service accounts.

This episode reinforces the NHI angle in privileged access tooling: appliances like RS and PRA are not just endpoints, they are systems that broker machine-mediated and human-mediated access on behalf of organisations. When authentication logic fails, the blast radius extends beyond a single login to the broader identity fabric that depends on controlled remote entry. Teams should therefore fold remote-access appliances into NHI and privileged identity reviews, not leave them in a separate ops silo.

From our research:

  • 91.6% of secrets remain valid five days after the targeted organisation is notified, showing a critical gap in remediation procedures, according to Ultimate Guide to NHIs.
  • From our research: 71% of NHIs are not rotated within recommended time frames, increasing the risk of compromise over time, according to Ultimate Guide to NHIs.
  • Forward-pivot: See Ultimate Guide to NHIs , Key Challenges and Risks for the visibility and lifecycle controls that reduce exposed access paths.

What this signals

Credential lifecycle discipline matters even when the flaw is not credential theft: remote-access compromise often becomes more dangerous when exposed accounts, tokens, or administrative sessions remain usable after detection. That is why remediation speed, revocation, and access review need to sit alongside patching in the same incident workflow. In NHI terms, the control problem is not just presence of a flaw, but how long trust remains valid after the flaw is known.

Privileged remote access should be treated as part of the identity plane: the organisations most exposed to this issue are those where support portals, third-party admins, and operational access are weakly separated. Teams should bring these appliances into IAM and PAM governance, align them to MITRE ATT&CK Enterprise Matrix for threat mapping, and use NIST SP 800-53 Rev 5 Security and Privacy Controls to structure access control and audit requirements.


For practitioners

  • Inventory every exposed remote-access appliance Build a live list of all internet-facing BeyondTrust RS and PRA instances, including vendor-managed and third-party-operated deployments, then verify patch state against the affected version range.
  • Validate the active authentication configuration Confirm which authentication mode each appliance is running, because exploitability depends on specific enabled settings and version checks alone may miss exposed code paths.
  • Restrict login interfaces to trusted source ranges Limit access to RS and PRA login portals from known network ranges and approved administrative paths, especially while any self-hosted instance remains under review.
  • Review privileged accounts and session logs Inspect authentication logs for unexpected login patterns and review elevated accounts for unauthorized changes, with particular attention to remote support sessions and administrative approvals.
  • Treat third-party-operated instances as in scope Require the same patch verification, configuration review, and log inspection for vendor-managed appliances as for internally run systems, because the exposure profile is the same.

Key takeaways

  • These flaws show that a bypass in the authentication layer can collapse the trust boundary around a remote-support appliance.
  • The exposure is amplified by configuration dependence, third-party operations, and the privileged role these portals play in internal access.
  • Defenders should inventory, validate settings, and restrict entry paths while patching and log review proceed together.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST AI RMF set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03Authentication bypass on privileged access appliances maps to NHI credential and access lifecycle risk.
NIST CSF 2.0PR.AC-1The issue is an access control failure on a critical external entry point.
NIST SP 800-53 Rev 5IA-2IA-2 governs identification and authentication for systems that broker privileged access.
MITRE ATT&CKTA0001 , Initial Access; TA0004 , Privilege EscalationA successful bypass provides initial access that can quickly become privileged entry.
NIST AI RMFGOVERNIdentity and access governance for high-trust gateways depends on clear accountability and control ownership.

Review remote-access appliances under NHI-03 and validate that exposed login paths are restricted and monitored.


Key terms

  • Pre-authentication exploitation: An attack that succeeds before a system performs authentication, signature verification, or other trust checks. This raises severity because the attacker does not need valid credentials or a legitimate session to reach the vulnerable code path.
  • Remote Privileged Access Management: Remote Privileged Access Management is the discipline of controlling elevated access for users who connect from outside the corporate network. It combines approval, strong authentication, session monitoring, and audit logging so privileged work can happen remotely without turning remote connectivity into open-ended trust.
  • Authentication bypass: An authentication bypass is a flaw that lets a requester reach protected functionality without completing the intended identity check. In practice, it turns the application’s login boundary into a broken assumption, so any exposure path in front of that application becomes materially more important.
  • Identity Attack Surface: Identity attack surface is the total set of accounts, tokens, login endpoints, trust paths, and supporting systems that can be probed for access. For password spraying, the risk grows with every externally reachable authentication path and every dormant or weakly protected identity.

What's in the full analysis

CYCOGNITO's full article covers the operational detail this post intentionally leaves for the source:

  • Exact version scope and remediation guidance for Remote Support and Privileged Remote Access appliances
  • The specific authentication configurations that influence exploitability and how to validate them
  • Exposure patterns by sector and deployment model, useful for prioritising remediation
  • CyCognito's recommended review workflow for internet-facing instances and elevated accounts

👉 CYCOGNITO's full article covers exposed instance review, configuration-dependent exploitability, and patch guidance.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps security and identity practitioners build repeatable controls for access paths that behave like privileged identities.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 18, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org