It doesn't find the actual CD. For that, CUETools needs either an EAC log, or suitable tags (CDTOC or AccurateRip tags - no use in album title), or if not: it must have the most common pregap length.
I don't know what you mean by "it must have the most common pregap length", but if you use detailed logging (Settings > Advanced > CTDB > Detailed log: True) CUETools will include PREGAP matching in its results.
[CUETools log; Date: 06/09/2023 19:33:47; Version: 2.2.0]
[CTDB TOCID: sFAMEDF3BfD1IjO41YeTSDwphVg-] found.
[ CTDBID ] Status
[dc986ecf] (534/582) Has pregap length 00:01:00, Accurately ripped
[2922f516] (001/582) No match
[fdcfdc08] (002/582) Accurately ripped
[ba4df3cc] (001/582) Has pregap length 00:01:00, No match
[ff03366d] (001/582) Has pregap length 00:01:00, No match
[9095d52d] (001/582) Has pregap length 00:01:00, No match
So our current rip only matches with 2 CTDB results (that have the same pregap), but if we plug 00:01:00 into the PREGAP field in CUETools - or more correctly create a CUE sheet with this information in - the AccurateRip results change from:
[AccurateRip ID: 00093df5-003f5f50-6007bc08] found.
Track [ CRC | V2 ] Status
01 [1a0003cc|41212817] (0+0/5) No match
02 [5e8d42ae|ac7ec965] (0+0/5) No match
03 [7ac5870f|47765fa9] (0+0/5) No match
04 [2904de6f|48e887d2] (0+0/5) No match
05 [e5511351|ccf644d3] (0+0/5) No match
06 [3c4e7d19|a34875ab] (0+0/5) No match
07 [f6091cda|b41d0f27] (0+0/5) No match
08 [4b12f944|2c7615c2] (0+0/5) No match
to
[AccurateRip ID: 00094098-003f6c7e-5f07bc08] found.
Track [ CRC | V2 ] Status
01 [1a0003cc|41212817] (043+057/394) Accurately ripped
02 [5e8d42ae|ac7ec965] (043+057/396) Accurately ripped
03 [7ac5870f|47765fa9] (043+059/396) Accurately ripped
04 [2904de6f|48e887d2] (044+058/396) Accurately ripped
05 [e5511351|ccf644d3] (045+058/402) Accurately ripped
06 [3c4e7d19|a34875ab] (043+057/394) Accurately ripped
07 [f6091cda|b41d0f27] (044+058/392) Accurately ripped
08 [4b12f944|2c7615c2] (045+057/388) Accurately ripped