BreachSpiderVerified, not vibes

CVE-2022-31277 in Mi Xiaomi Lamp 1 and 1 more product

High 8.8

Xiaomi Lamp 1 v2.0.4_0066 was discovered to be vulnerable to replay attacks. This allows attackers to to bypass the expected access restrictions and gain control of the switch and other functions via a crafted POST request.

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.6%
EPSS percentile40th
FixUnknown

Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Mi Xiaomi Lamp 1 (device and firmware) 2.0.4_0066

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Xiaomi Lamp 1 v2.0.4_0066 was discovered to be vulnerable to replay attacks. This allows attackers to to bypass the expected access restrictions and gain control of the switch and other functions via a crafted POST request.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-31277
BreachSpider IDBS-2022-GLOBAL-319316-H
CVSS vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-06-16
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-294: CWE-294

Related attack patterns (CAPEC)

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-294

CAPEC-102 Session Sidejacking via CWE-294

CAPEC-509 Kerberoasting via CWE-294

CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-294

CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-294

Show all 10

CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-294

CAPEC-555 Remote Services with Stolen Credentials via CWE-294

CAPEC-652 Use of Known Kerberos Credentials via CWE-294

CAPEC-701 Browser in the Middle (BiTM) via CWE-294

CAPEC-94 Adversary in the Middle (AiTM) via CWE-294

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Xiaomi Lamp 1 v2.0.4_0066 is vulnerable to replay attacks, enabling attackers to bypass access restrictions and control the switch and other functions.

Attackers can craft a POST request to exploit the replay vulnerability, allowing them to bypass authentication and control the lamp's functions.

Questions

What is CVE-2022-31277?

Xiaomi Lamp 1 v2.0.4_0066 is vulnerable to replay attacks, enabling attackers to bypass access restrictions and control the switch and other functions.

What is the CVSS score for CVE-2022-31277?

CVE-2022-31277 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.

Is CVE-2022-31277 actively exploited?

No confirmed active exploitation of CVE-2022-31277 as of 2026-09-25.

How do I remediate CVE-2022-31277?

Priority: IMMEDIATE.

What systems are affected by CVE-2022-31277?

CVE-2022-31277 affects Mi Xiaomi Lamp 1.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Mi","product":"Xiaomi Lamp 1","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.