Credentials Sent Over HTTP means username, password, token or other secret data transmitted in cleartext using the HTTP protocol. Because HTTP does not encrypt traffic, anyone able to intercept the connection can read or reuse the credentials, so secure systems use HTTPS, HSTS and modern transport encryption instead.
What cleartext credential exposure means
Sending credentials over HTTP is a transport-layer failure, not just a weak password choice. The secret may be perfectly strong, but once it crosses the network in cleartext it can be read, copied, replayed, or logged by any intermediary that can observe the traffic path.
This matters because the exposure window can exist before any application-level authorization check. If the credential is intercepted in transit, the attacker may not need to break the target system at all, only the transport path, proxy, Wi-Fi link, browser session, or upstream logging point that sees the request.
Why HTTP transmission is dangerous
HTTP provides no encryption or integrity protection for the request in transit. That means the secret is vulnerable to passive interception, but also to active manipulation, such as redirect abuse or downgrade-style interference when users are not forced onto HTTPS.
The risk is broader than a single login form. Credentials can appear in basic auth headers, form posts, API calls, mobile app traffic, or embedded service requests. Once they are visible on the wire, they can be reused elsewhere if the same secret also unlocks other systems.
How organisations detect exposure
Exposure should be checked from the outside in and the inside out. Start with asset inventory and traffic review to find any endpoint that still accepts HTTP, then inspect application code, reverse proxies, load balancers, and vendor integrations for places where secrets might still traverse plaintext paths.
Vendor advisories, browser behaviour, and edge telemetry are also useful because many credential leaks are discovered first through public observation, not by the application owner. Treat any public-facing login, API, or webhook endpoint that still permits HTTP as a candidate for immediate review.
How to prevent and contain it
The baseline control is to enforce HTTPS everywhere, then make HTTP unusable for credential-bearing requests. That typically means redirecting to TLS, enabling HSTS, and removing any plaintext authentication path that could still accept secrets even briefly.
When a plaintext exposure cannot be eliminated immediately, reduce the blast radius by shortening secret lifetime, scoping tokens narrowly, and replacing reusable long-lived credentials with safer authentication patterns where possible. If interception is suspected, assume the secret is compromised and rotate it rather than waiting for proof of abuse.
Risk and Threat Considerations
Cleartext credential transmission creates a direct interception opportunity for anyone who can observe the network path, including malicious hotspots, compromised proxies, malware, or upstream logging systems. The danger is not limited to login theft, because the same captured secret may unlock APIs, administrative tools, or service endpoints elsewhere.
Failure mechanism: HTTP offers no confidentiality in transit, so the credential can be captured, replayed, or harvested from intermediary infrastructure before the target service ever sees a legitimate authentication event.
Impact: A single intercepted secret can become account takeover, unauthorized API access, session hijacking, lateral movement, or follow-on compromise of connected systems that trust the same credential.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack surface, OWASP ASVS, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP ASVS | V12 — Secure Communication | Covers protecting credentials in transit with TLS and strong transport security. |
| Recommendation — Enforce encrypted transport for all credential-bearing requests and reject plaintext authentication paths. | ||
| NIST SP 800-53 Rev 5 | SC-8 — Transmission Confidentiality and Integrity | Defines protecting information, including secrets, during transmission. |
| IA-5 — Authenticator Management | Addresses lifecycle handling for credentials that must be rotated after exposure. | |
| Recommendation — Apply transmission-protection controls so credentials cannot travel in cleartext. Rotate and revoke exposed authenticators immediately after any plaintext transmission event. | ||
| CIS Controls v8 | CIS-3 — Data Protection | Includes safeguarding sensitive data in transit and preventing exposure. |
| Recommendation — Protect credential traffic in transit and eliminate plaintext paths from production systems. | ||
| ISO/IEC 27001:2022 | A.8.24 — Use of cryptography | Supports encrypting data in transit to preserve confidentiality of credentials. |
| Recommendation — Require cryptographic protection for credential-bearing traffic and disable HTTP for secret exchange. | ||
| OWASP API Security Top 10 | API2 — Broken Authentication | Credential exposure in transit undermines authentication security for exposed APIs. |
| Recommendation — Harden API authentication so secrets are never transmitted over plaintext channels. | ||
Practitioner Guidance
Why practitioners should care: This is a high-severity transport misconfiguration because it defeats every other control that depends on the secrecy of the credential. If the network path is plaintext, password policy, token strength, and access reviews cannot compensate for the exposure.
What to watch for: Repeated HTTP requests to authentication endpoints, mixed-content flows, old clients that fail over to plaintext, and any code path that still sends API keys, basic auth, or bearer tokens without TLS are all signs that the problem may still exist.
Practitioner takeaway: Treat any credential sent over HTTP as compromised by design, then remove the plaintext path, rotate the secret, and verify that only encrypted transport remains available.
Related resources from NHI Mgmt Group
- Why does sending device commands and login credentials over HTTP create unacceptable risk?
- How do you stop OpenAPI definitions allowing API keys or credentials over cleartext HTTP?
- How should security teams decide between WinRM over HTTP and HTTPS?
- What do teams get wrong about WinRM over HTTP security?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org