Compliance & risk

What Is CDE in PCI DSS? Cardholder Data Environment Explained

The CDE is the heart of PCI DSS scope. Learn what counts as in scope, what does not, and how segmentation and outsourcing can shrink your compliance burden.

Cysoro Security TeamPublished · 8 min read
•••• •••• •••• 4242Cardholder dataIn scopeProtected COMPLIANCE & RISK CDE inPCI DSS Scope starts here.
Quick answer

In PCI DSS, CDE stands for cardholder data environment: the people, processes and technology that store, process or transmit cardholder data or sensitive authentication data, plus systems with unrestricted connectivity to them. PCI DSS applies to the CDE and to connected or security-impacting systems, so defining the CDE correctly decides how much of your business must be assessed.

Key takeaways

  • The CDE is the people, processes and systems that store, process or transmit cardholder data or sensitive authentication data.
  • PCI DSS scope is wider than the CDE: connected-to and security-impacting systems are also in scope.
  • Segmentation and full outsourcing to a compliant payment processor are the two main ways to shrink the CDE.

Every PCI DSS conversation starts with the same question: what exactly is in scope? The answer is the CDE, the cardholder data environment. Get the CDE wrong and you either secure far more than you need, or you miss the systems an attacker would target first.

What is CDE in PCI DSS?

CDE stands for cardholder data environment. In PCI DSS, it is the people, processes and technology that store, process or transmit cardholder data or sensitive authentication data, plus systems with unrestricted connectivity to those systems.

The definition comes from the PCI Security Standards Council, which publishes PCI DSS. TechTarget summarises the same definition in its cardholder data environment guide. The current version is PCI DSS v4.0.1, which became the only active version in March 2024. It has 12 requirements grouped under six goals, and all of them apply inside the CDE.

Notice that the CDE is not only servers and networks. People are part of it too: staff who administer payment systems, handle paper receipts or take card details by phone are in the CDE. So are the processes they follow, from how receipts are stored to how card data is destroyed.

If your business takes card payments in any form — online, in store, by phone or by mail — you have a CDE, even if it is small. The question is how big it is, and that is where scope work pays off.

What data does the CDE protect?

The CDE protects account data, which has two parts: cardholder data and sensitive authentication data. Cardholder data can be stored under strict controls; sensitive authentication data must never be stored after authorization.

Data typeExamplesCan it be stored?
Cardholder dataPrimary account number (PAN), cardholder name, expiration date, service codeYes, with protection such as encryption, masking and access controls
Sensitive authentication dataFull track data, card verification code (CVV/CVC), PIN dataNo, never store it after authorization, even encrypted

The PAN is the key. Any system that stores, processes or transmits it, or that could affect its security, falls under PCI DSS. That is why a log file that accidentally captures a full card number can suddenly pull a logging server into scope.

Tokenization helps here. A token replaces the PAN with a meaningless reference value, so systems that only handle tokens usually sit outside the CDE. But the system that creates and maps the tokens is firmly inside it.

What systems are in the CDE?

Any system that directly handles card data is in the CDE. That includes point-of-sale terminals, payment applications, payment databases, authorization servers, payment middleware and the network devices card data flows through.

What sits inside the CDE? Inside the CDE • POS terminals and card readers • Payment applications and servers • Databases holding card numbers • Authorization and settlement systems • Firewalls, switches and routers in the path • Staff who handle card data Connected or security-impacting • Identity and directory services • Jump hosts and admin workstations • SIEM and logging servers • DNS, patching and backup systems • Cloud control planes • Code repositories and CI/CD tools
Direct card-handling systems form the CDE; connected and security-impacting systems widen the scope. Illustration by Cysoro.

Virtual systems count too. A virtual payment server, a container running a payment application and a cloud database that stores card numbers are all in the CDE, even though there is no physical box to point at.

Paper counts as well. A printed receipt with a full card number, a mail-order form and a filing cabinet holding them are part of the CDE until the data is destroyed. Shredding and retention rules matter for this reason.

Is the CDE the same as PCI DSS scope?

No. The CDE is the core of PCI DSS scope, but scope is wider. It also includes systems connected to the CDE and any system that could affect the security of cardholder data or the CDE itself.

This is the distinction most organizations get wrong. A system can be in scope even if it never sees a card number. If compromising it would let an attacker reach the CDE, change its configuration or disable its defenses, it is in scope.

Common examples include identity platforms, DNS services, vulnerability management tools, jump hosts, administration workstations and cloud administration consoles. A compromised admin account is often the fastest route into a payment system.

PCI DSS v4.0.1 formalized this with the concept of connected-to or security-impacting systems. The practical test is three questions: does the component handle account data, can it connect to the CDE, and could its compromise affect the CDE? A yes to any of them means it belongs in scope.

How do you define your CDE?

Defining the CDE is a mapping exercise, not a guess. Start by tracing every card data flow: where card data enters, where it travels, where it is stored and where it leaves your environment.

  1. List every payment channel. Online checkout, in-store terminals, phone orders, mail orders, recurring billing and refunds all count.
  2. Trace each data flow. Follow the card number from entry to the processor and back, including logs, backups and reports.
  3. Inventory every system in the path. Include network devices, virtual machines, cloud services and third-party tools.
  4. Add connected and security-impacting systems. Identity, logging, patching, backup and admin systems belong here.
  5. Document the boundary. Draw the CDE, list what is in and out, and record why each out-of-scope system is truly isolated.
  6. Confirm it annually. PCI DSS Requirement 12.5.2 requires scope to be documented and confirmed at least annually and after significant changes.

Documenting the boundary is not paperwork for its own sake. An assessor will test it, and a clear diagram with evidence is far easier to defend than a claim that a system is out of scope because it feels separate.

For a wider starting point, our small business cybersecurity checklist covers the inventory, access control and backup habits that support a clean scope.

How does segmentation shrink the CDE?

Network segmentation isolates the CDE from the rest of your network, so systems outside it have no connectivity into it. Effective segmentation can reduce what is in scope, because fewer systems can reach card data.

Segmentation is not required by PCI DSS, but it is one of the most effective scope-reduction tools available. A flat network, where any workstation can reach a payment server, makes almost everything in scope. A segmented network keeps the CDE small.

For segmentation to count, it must actually work. Firewalls must block traffic between segments, and the controls must be tested. An assessor will try to reach the CDE from outside it, and a single open path can undo the whole exercise.

Flat network vs segmented network Flat network Every workstation can reach the payment server Scope: almost everything More systems to secure, patch and assess Segmented network Payment systems isolated behind a firewall Scope: small, defined CDE Fewer systems to secure, patch and assess
Segmentation does not remove PCI DSS, but it shrinks the environment you must protect. Illustration by Cysoro.

Other scope-reduction steps help too. Stop storing card numbers you do not need, purge old data, keep card data out of logs and test environments, and use point-to-point encryption on terminals so card data is encrypted from the reader onward.

What if a processor handles all card data?

If all account-data functions are completely outsourced to a PCI DSS compliant third-party service provider, and you do not electronically store, process or transmit any account data, you may qualify for the simplest validation form, SAQ A.

SAQ A is for card-not-present merchants, such as e-commerce and mail or telephone order businesses, whose payment page redirects customers to the processor or embeds the processor's payment form. The January 2025 Revision 1 of SAQ A for PCI DSS v4.0.1 contains 27 individually answerable requirements.

Outsourcing does not remove responsibility. You must confirm that your provider is PCI DSS compliant for the services you use, and your own website page can still be in scope. If your page hosts the redirect or the embedded payment form, it affects how account data is transmitted, even though it never receives a card number.

That is why SAQ A includes a check that your site is not susceptible to script attacks that could affect the e-commerce system. A compromised script on your checkout page can skim card data before it reaches the processor.

Check your provider's complianceAsk for your payment processor's attestation of compliance and confirm it covers the services you use. A provider that is compliant for one service is not automatically compliant for another.

What are the most common CDE scoping mistakes?

The most common mistake is treating the CDE as only the systems that touch card numbers. Connected and security-impacting systems are forgotten, and the scope is drawn too small.

  • Forgetting logs and backups. A log that captures card numbers, or a backup of a payment database, is in scope.
  • Forgetting test systems. A test environment loaded with real card data is a CDE, not a safe sandbox.
  • Forgetting remote access. Vendor remote access, VPNs and jump hosts that reach the CDE are in scope.
  • Assuming the cloud is out of scope. Using a cloud provider does not remove your CDE; it splits responsibility between you and the provider.
  • Assuming a flat network is fine. Without segmentation, any system that can reach the CDE is hard to argue out of scope.
  • Letting scope drift. A new integration, a new report or a new vendor can quietly expand the CDE after the last assessment.

Scope drift is the quietest risk. A marketing tool that starts receiving order exports, or a support tool that can view full card numbers, can expand the CDE without anyone updating the diagram.

Who needs to understand the CDE?

Anyone who handles card payments needs a working understanding of the CDE, but the audience differs by role. Small merchants need to know whether they qualify for SAQ A or a fuller assessment. Larger merchants need a documented scope that an assessor can test.

Developers need to know that card data must never flow through a system that was not designed for it. A debug log, an error report or a customer support ticket can all become unexpected card-data stores.

Finance and operations teams need to know that changing a payment flow — a new checkout, a new terminal or a new processor — can change the CDE. Scope should be reviewed before the change goes live, not at the next audit.

Check your public-facing security posture alongside scope work with our free security headers checker.

The PCI Security Standards Council publishes the standard itself, so start there when you need the authoritative wording: PCI DSS v4.0.1 in the PCI SSC document library.

The bottom line

The CDE is the people, processes and systems that store, process or transmit cardholder data, plus anything with unrestricted connectivity to them. PCI DSS scope starts there and widens to connected and security-impacting systems.

Define it by tracing real data flows, document the boundary, segment the payment systems away from everything else, and confirm the scope at least once a year. A smaller, well-understood CDE is cheaper to protect, easier to assess and harder for an attacker to reach. Start by reviewing your payment flows against the Cysoro security baseline.

Frequently asked questions

What does CDE stand for in PCI DSS?

CDE stands for cardholder data environment. It is the people, processes and technology that store, process or transmit cardholder data or sensitive authentication data, plus systems with unrestricted connectivity to those systems.

Is the CDE the same as PCI DSS scope?

No. The CDE is the core of PCI DSS scope, but scope is wider. It also includes systems connected to the CDE and systems that could affect the security of cardholder data, such as identity, logging and patching systems.

What data counts as cardholder data?

Cardholder data includes the primary account number, the cardholder name, the expiration date and the service code. Sensitive authentication data includes full track data, card verification codes and PIN data, and it must never be stored after authorization.

Can I store a CVV or PIN?

No. Sensitive authentication data such as the card verification code, full magnetic-stripe or chip track data and PIN data must not be stored after authorization, even if it is encrypted.

How can I reduce my CDE?

Use network segmentation to isolate payment systems, remove card data from systems that do not need it, and outsource payment handling to a PCI DSS compliant processor with a hosted payment page or redirect.

If I use Stripe or PayPal, do I still have a CDE?

You may have a very small one or none at all, depending on how the payment page works. If card data never touches your systems and processing is fully outsourced, you may qualify for SAQ A, but your website page that hosts or redirects to the payment form can still be in scope.

What happens if I get my CDE scope wrong?

Under-scoping is a common audit failure. Systems left out of scope are not protected or tested to PCI DSS requirements, and an assessor can expand the scope, delay validation and require remediation before you pass.

How often must PCI DSS scope be confirmed?

PCI DSS v4.0.1 requires organizations to document and confirm their PCI DSS scope at least annually and after any significant change to the environment, under Requirement 12.5.2.

Sources

  1. PCI Security Standards Council — PCI DSS v4.0.1
  2. RSI Security — PCI DSS Glossary: Key Terms and Acronyms Explained
  3. TechTarget — Cardholder data environment (CDE)
  4. Compass IT Compliance — How to Define Your Cardholder Data Environment (CDE) Under PCI DSS
  5. Spreedly — PCI scope and PCI scope reduction
  6. PCI SSC — Self-Assessment Questionnaire A, PCI DSS v4.0.1 Revision 1
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against PCI DSS v4.0.1, the PCI SSC document library and SAQ A Revision 1.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free