PCI DSS 4.0
Req 7: Restrict Access by Need to Know

PCI DSS 4.0 7.2.6: 7.2.6 Query access to stored cardholder data restricted

When users query databases or other stores holding cardholder data, that access must be restricted so that: users get to the data by way of applications or other programmatic methods, with their access and allowed actions set by their roles and least privilege; and direct access to, or querying of, stored CHD repositories is limited to the responsible administrators. The guidance defines programmatic methods with examples such as database stored procedures, and advises that granting access to these repositories follow the same role-based process as any other access. Applicability: covers the controls on users querying stored cardholder data; application and system accounts fall instead under Requirement 7.2.5 (and its sub-requirement) and 8.6.1 to 8.6.3. Objective under the customized approach: direct, unfiltered ad hoc queries against cardholder data repositories are prohibited except by an authorized administrator.

Maintained by Gerard BlokdykControl text last updated

What else in your programme already covers this

This control maps to 32 controls across 15 other frameworks. If you already hold one of them, the evidence you collected for it is the starting point here rather than new work.

ISO 27001:2022 · 5 controls

  • 5.16 Identity management
  • 5.18 Access rights
  • 8.2 Privileged access rights
  • 8.3 Information access restriction
  • 8.33 Test information

FedRAMP High · 4 controls

  • AC-2 Account Management
  • AC-3 Access Enforcement
  • AC-5 Separation of Duties
  • AC-6 Least Privilege

FedRAMP Moderate · 4 controls

  • AC-2 Account Management
  • AC-3 Access Enforcement
  • AC-5 Separation of Duties
  • AC-6 Least Privilege

NIST SP 800-53 Rev 5 · 4 controls

  • ASBv3-PA-7 Follow just enough administration (least privilege) principle
  • DP-2 Monitor anomalies and threats targeting sensitive data

C5 (Germany) · 2 controls

CIS Controls v8 · 2 controls

  • CIS-3.3 Configure Data Access Control Lists
  • CIS-6.8 Define and Maintain Role-Based Access Control

CMMC 2.0 · 1 control

ISO 27002:2022 · 1 control

  • 8.3 Information access restriction

ISO 27701:2019 · 1 control

  • 6.6.4 System and application access control
  • NIST-CSF-PR.AA-05 Access permissions, entitlements, and authorizations are defined in a policy, managed, enforced, and reviewed, and incorporate the principles of least privilege and separation of duties

SOC 2 · 1 control

  • SOC2-CC6.3 CC6.3 Role-based access, least privilege and segregation of duties

Every mapping shown was judged rather than inferred from wording similarity, and the ones that failed review are published too. See the coverage reports and what was rejected.

Other controls in Req 7: Restrict Access by Need to Know

You are reading one control. How much of PCI DSS 4.0 have you already done?

PCI DSS 4.0 7.2.6 is one control. If you already hold one of the frameworks below, a reviewed crosswalk already says how much of PCI DSS 4.0 your existing evidence covers. Hold ISO 27001:2022 and 139 of 280 PCI DSS 4.0 controls already carry evidence.

Each report names every control your existing framework evidences, every one it does not, the reasoning behind each claim, and the claims that were argued against and rejected. 415 were rejected on the ISO 27001:2022 pair alone.

Query this from an agent

The graph holds this control, the 32 it maps to, and the evidence behind each claim, over MCP and REST.